Design, code in java and prepare unit tests for a simple login

Design, code in java and prepare unit tests for a simple login

SDEV 460

Homework 1

Unit Testing for Authentication and LoggingDesign, code in java

Overview:

This homework will assess your ability to design, code and prepare unit tests for a simple login

application. The application should be a standalone desktop application

without

any Web components.

You can code the application in Java, C# or C++.

Assignment: Total 100 points

Using the readings from weeks 1 and 2 as a baseline, develop a graphical user interface that allows a

user to login to a system. The login screen shou

ld contain fields for entering a username and password

and buttons to submit the information for authentication and a button to clear or reset the fields.

You can hard

code the password authentication for now

as the purpose of this exercise is Unit testin

g.

The system should log all attempts into a Log.txt file. The log should include the username, the date, the

time and if the login was successful or not.

Create multiple Unit tests (use Junit if selecting Java, and Visual Studio Unit Test if using C++ or

C#). You

should design and implement a comprehensive set of Unit tests

a minimum of 4 that include testing of

the login form with successful/unsuccessful logging attempts and the logging functionality to the Log.txt

file

. You should run your unit tests a

nd clearly

show the results for each test in your submission.

Deliverables:

You should submit your source files, example log files and a word (or PDF) document providing a

detailed explanation of each of unit tests along with screen captures showing the

results of your unit

tests. Screen captures are clearly labeled indicating exactly what the screen capture represents.

You should zip your source files to allow submission in one compressed source file as opposed to

multiple. Submit your source code and d

ocument no later than the due date.

Your document should be well

organized, include page numbers and contain minimal spelling or

grammatical

errors

Calculate the price of your order

Select your paper details and see how much our professional writing services will cost.

We`ll send you the first draft for approval by at
Price: $36
  • Freebies
  • Format
  • Formatting (MLA, APA, Chicago, custom, etc.)
  • Title page & bibliography
  • 24/7 customer support
  • Amendments to your paper when they are needed
  • Chat with your writer
  • 275 word/double-spaced page
  • 12 point Arial/Times New Roman
  • Double, single, and custom spacing
  • We care about originality

    Our custom human-written papers from top essay writers are always free from plagiarism.

  • We protect your privacy

    Your data and payment info stay secured every time you get our help from an essay writer.

  • You control your money

    Your money is safe with us. If your plans change, you can get it sent back to your card.

How it works

  1. 1
    You give us the details
    Complete a brief order form to tell us what kind of paper you need.
  2. 2
    We find you a top writer
    One of the best experts in your discipline starts working on your essay.
  3. 3
    You get the paper done
    Enjoy writing that meets your demands and high academic standards!

Samples from our advanced writers

Check out some essay pieces from our best essay writers before your place an order. They will help you better understand what our service can do for you.

Get your own paper from top experts

Order now

Perks of our essay writing service

We offer more than just hand-crafted papers customized for you. Here are more of our greatest perks.

  • Swift delivery
    Our writing service can deliver your short and urgent papers in just 4 hours!
  • Professional touch
    We find you a pro writer who knows all the ins and outs of your subject.
  • Easy order placing/tracking
    Create a new order and check on its progress at any time in your dashboard.
  • Help with any kind of paper
    Need a PhD thesis, research project, or a two-page essay? For you, we can do it all.
  • Experts in 80+ subjects
    Our pro writers can help you with anything, from nursing to business studies.
  • Calculations and code
    We also do math, write code, and solve problems in 30+ STEM disciplines.

Frequently asked questions

Get instant answers to the questions that students ask most often.

See full FAQ
    See full FAQ

    Take your studies to the next level with our experienced specialists

    Chat
    Hello, Send us a message or inquiry, and we will respond right away