JUnit Test Runner, which creates tests just before they run

I use JUnit 3.x TestRunner, which immediately runs all the tests before running them.

Is a test runner available that will create every test (or at least every test suite test) just before they run?
I can use JUnit 4.x runners, but my tests are 3.x tests.

+3
source share
2 answers

In JUnit 3, you will need to write your own TestSuite class, which delays the creation of test instances in the package.

+3
source

You are probably mistaken.

unit test - . , , , . , , . , , .

EDIT: , , . , :)

+1

Source: https://habr.com/ru/post/1713729/


All Articles