-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
JUnit Pioneer
- JUnit 5 extensions
- Community maintained and currated
- http://www.junit-pioneer.org
- https://github.com/junit-pioneer/junit-pioneer/raw/master/docs/project-logo.jpg
Core features (no additional dependencies)
- Mockito extension
- Conditional execution extensions
- JUnit 4 rule replacement extensions
- Console testing extensions (System.in, System.out and System.err)
- Migration help for TestNG users (extra assertions
Core features (continued)
- Please contribute your extensions!
- https://github.com/junit-pioneer/junit-pioneer
Suite
- Allows the definition of declarative suites
@IncludeClassNamePatterns({"**/*Tests.java"})
public class MySuite {
@BeforeAll
static void setUp() {
...
}
@AfterAll
static void tearDown() {
...
}
}
upREST
- Declarative testing of RESTful APIs
@UpRest
@Paths({"/api/first-resource", "/api/second-resource", "/api/third-resource"})
@Methods({Method.POST, Method.PUT, Method.PATCH, Method.DELETE})
@Headers("Accept:application/json")
@Authenticator(Oauth2Authenticator.class)
public void dynamicTest(StatusLine status) {
assertThat(status)
.hasStatusCode(HttpStatus.SC_FORBIDDEN);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels