hands-on lab

Session 3: Lab 3 - Write unit tests in Java

Difficulty: Beginner
Duration: Up to 1 hour and 30 minutes
Students: 81
On average, students complete this lab in30m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

We have provided you with all the code you need for the Security class’s login method.

You will write all the code needed for Unit testing. A sample starter code will be provided later.

You will then create a new Java application using Eclipse IDE and write a few tests (as many as you can).

You will then run the tests and record the result in the spreadsheet that you produced in Lab 1.

 

Hands-on Lab UUID

Lab steps

Starting the Java programming environment
Create a new java application
Create Unit tests
Write the code