Uploaded image for project: 'mod-eusage-reports'
  1. mod-eusage-reports
  2. MODEUR-49

Workaround for IntelliJ Idea lack of mvn integration-test separation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • None
    • None
    • eUsage Sprint 120
    • 1
    • Thor

    Description

      Eclipse and maven run tests assigned to the mvn integration-test phase separately from the tests assigned to the mvn test phase.

      IntelliJ Idea doesn't. It runs ApiIT after EusageReportsApiTest and before Tenant2ApiTest when clicking on test/java and executing "Run 'All tests'". In addition it re-uses the same environment resulting in RestAssured settings propagated to the next test class.

      This results in test failures in ApiIT.reqsByPubYear and Tenant2ApiTest.*.

      To work around this Idea restriction all test classes must set the RestAssured settings.

      TestRail: Results

        Attachments

          Activity

            People

              adam Adam Dickmeiss
              adam Adam Dickmeiss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases