Class MavenIntegrationIT

java.lang.Object
com.soebes.itf.examples.MavenIntegrationIT

@MavenJupiterExtension @MavenRepository @TestMethodOrder(org.junit.jupiter.api.MethodOrderer.OrderAnnotation.class) @DisplayName("This is integration test Nr.1 with two setup projects.") class MavenIntegrationIT extends Object
The following test cases are related together cause they are sharing a common cache MavenRepository. Furthermore the setup* cases running in a given order (defined by MethodOrderer.OrderAnnotation).
Author:
Karl Heinz Marbaise
  • Constructor Details

    • MavenIntegrationIT

      MavenIntegrationIT()
  • Method Details

    • setup

      @MavenTest @Order(10) @DisplayName("where setup one is needed.") void setup(com.soebes.itf.jupiter.maven.MavenExecutionResult result)
    • setup_2

      @MavenTest @Order(20) @DisplayName("where setup two is needed.") void setup_2(com.soebes.itf.jupiter.maven.MavenExecutionResult result)
    • first_integration_test

      @MavenTest @MavenGoal({"clean","verify"}) @DisplayName("and the test case tries to check for resultion issue.") void first_integration_test(com.soebes.itf.jupiter.maven.MavenExecutionResult result)