hands-on lab

Session 3: Lab 3 - Write unit tests in Java

Difficulty: Beginner
Duration: Up to 1 hour and 30 minutes
Students: 96
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

0 of 4 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. Starting the Java programming environment
  2. Create a new java application
  3. Create Unit tests
  4. Write the code