Java Testing with JUnit 5
This course introduces experienced Java developers to the fundamentals and best practices in unit testing. It uses the JUnit 5 and Mockito libraries, both of which are ubiquitous in the Java community. It is intended for both developers who are new to testing, as well as those who are already familiar with it, but want more experience with testing using JUnit 5.
In stock
Product Code
1-06-00097-000-05-25-21-grp
This course introduces experienced Java developers to the fundamentals and best practices in unit testing. It uses the JUnit 5 and Mockito libraries, both of which are ubiquitous in the Java community. It is intended for both developers who are new to testing, as well as those who are already familiar with it, but want more experience with testing using JUnit 5. Note that JUnit 5 is substantively different than JUnit 4. Although the core testing principles are the same, there are substantial implementation differences, important new features, and a brand new extension model. Testing with mocks is covered in detail, using Mockito. We explore testing enterprise components in the persistence, service, and web layers, outlining the issues involved in each. In-container testing is introduced as a more meaningful approach to testing enterprise components, vs. standalone testing with mocks, and we examine this at each of the main layers in an enterprise application.
| Product Code | 1-06-00097-000-05-25-21-grp |
|---|---|
| Audience | Java with OO Development programmers as well as developers with JUnit 3 and 4 experience. that need to update their skills to JUnit 5. |
| Course Length | 2 Days |
| Instructor Kit Description |
|
| Prerequisites | The student is expected to have a good working knowledge of Java and OO, including the use of interfaces, abstract classes, collections, factories, and generics. Experience with Java 8 lambda expressions is helpful, but not strictly required. A brief primer on the Java 8 features employed by JUnit is included in the course. |
| Sample/Table of Contents | View PDF |
| Student Files | Download Zip File |