Search⌘ K

JUnit Testfactory

Explore how to implement JUnit 5 TestFactory to convert Cypress end-to-end test results into dynamic tests. Understand replacing @Test with @TestFactory and using List<DynamicContainer> to view each test separately in your IDE. This lesson helps you better track test outcomes for improved debugging.

We'll cover the following...

When we run the CypressE2eTests, we’ll only see one test:

This is because the tests run in the Cypress Docker container and we only get the results at the end of the full test run. It would be a lot ...