Java library that enables step-by-step verification using JUnit (You can do step-by-step testing like a StepVerifier in a reactive environment)
For Maven:
<dependency>
<groupId>io.github.chyccs</groupId>
<artifactId>phase-verifier</artifactId>
<version>x.x.x</version>
<scope>test</scope>
</dependency>
For Gradle:
testImplementation 'io.github.chyccs:phase-verifier:x.x.x'
How to use:
public class CookieTests {
@Test
public void testSuccess() throws ExecutionException, InterruptedException {
PhaseVerifier.execute(() -> "butter")
.expectNot("cream")
.expect("butter");
}
}