image
hands-on labSession 3: Lab 3 - Write unit tests in Java
Beginner
1h 30m
25
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.
Lab steps
Starting the Java programming environment
Create a new java application
Create Unit tests
Write the code
Lab 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.

When you’re ready, select Start Lab to continue.

About the author
Avatar
QA
Training Provider
Students
43,803
Labs
168
Courses
1,745
Learning Paths
45

A world-leading tech and digital skills organization, we help many of the world’s leading companies to build their tech and digital capabilities via our range of world-class training courses, reskilling bootcamps, work-based learning programs, and apprenticeships. We also create bespoke solutions, blending elements to meet specific client needs.