Skip to content

chyccs/phase-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central

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");
    }
}

About

Library that enables step-by-step verification using junit

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published