Relative Content

Tag Archive for javajunitquarkuscdijunit5

Quarkus Test. Reset bean state

I have a stateful bean and some different test cases under @QuarkusTest for it. But each test case requires clean bean state for correct execution (tests should not depend on each other).
Currently bean preserves its states across the tests, so test2 fails, which doesn’t seems right: