sleberknight / junit-pioneer-cartesian-test-buggy

Demonstrates an issue with JUnit Pioneer's CartesianTest and parameter injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository demonstrates a possible issue with JUnit Pioneer's CartesianTest and parameter injection.

Basically if you use @CartesianTest and use parameter injection in a @BeforeEach and/or @AfterEach method, the test never executes and a ParameterResolutionException is thrown.

Here is the related issue.

Note that the Action is expected to fail when using JUnit Pioneer 1.6.x and 1.7.0. Version 1.6.0 is when the new way of using @CartesianTest was introduced.

About

Demonstrates an issue with JUnit Pioneer's CartesianTest and parameter injection

License:MIT License


Languages

Language:Java 100.0%