hands-on lab

Session 3: Lab 3 - Write unit tests in Java

Beginner
Up to 1h 30m
36
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.

 

About the author

Avatar
QA, opens in a new tab
Training Provider
Students
54,548
Labs
189
Courses
2,739
Learning paths
52

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.

Lab steps

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