Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-2277

mvn verify step does not work for Script Plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Low
    • Resolution: Unresolved
    • 7.0.0
    • None
    • Script Plugins
    • None
    • Needs refinement SR4J, SR4J Sprint 148 (8.4.0), SR4J Sprint 149 (8.5.0), SR4J Sprint 150 (8.6.0), SR4J Sprint 151 (8.7.0)
    • 2
    • 0

    Description

      Since the move to Groovy 3 & the rewrite of the test runner, mvn verify no longer runs tests for ScriptRunner as documented in https://docs.adaptavist.com/sr4js/latest/best-practices/write-code/create-a-script-plugin:

      If you have written integration tests, they can be run using mvn verify. The command will:

      Start a host application.

      Run the integration tests inside the application.

      Shut down the application.

      The above command runs your whole test suite.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcarter Jonny Carter
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: