Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      I'm trying to do an integration test that depends on a war/ear to be deployed.

      What i'm missing is:

      • integration-test-compile stage and/or:
      • a way to specify an integrationTestSourceDirectory or multiple testSourceDirectories in the pom

      I can't put the test sources in src/test/java because then surefire will run them in the test stage, when
      there's no artifact to deploy yet.

      [Btw, I'm doing this while creating a cactus plugin, for the moment using cargo in the TestSuite itself to deploy.]

      The idea is that the integration test sources go in src/itest/*; that there be a integration-test-compile,
      integration-test-package and/or integration-test-appdeploy[or something] and that surefire
      is also bound to integration-test.

      Maybe something can be done using the src/test/project/some-project/.... approach seen in
      maven-javadoc-plugin, maven-site-plugin and maven-eclipse-plugin (i'd like to see some of that
      standardized anyway to allow plugin testing generally - which can also be seen as integration testing).

      Thoughts, comments, approaches?

        Issue Links

          Activity

          Kenney Westerhof created issue -
          John Casey made changes -
          Field Original Value New Value
          Link This issue is related to MNG-475 [ MNG-475 ]
          Brett Porter made changes -
          Fix Version/s 2.0-beta-1 [ 11040 ]
          Brett Porter made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          John Casey made changes -
          Assignee John Casey [ jdcasey ]
          Vincent Massol made changes -
          Workflow jira [ 35851 ] Maven [ 37488 ]
          Brett Porter made changes -
          Remaining Estimate 24h [ 86400 ]
          Assignee John Casey [ jdcasey ] Brett Porter [ brettporter ]
          Original Estimate 24h [ 86400 ]
          Brett Porter made changes -
          Remaining Estimate 24h [ 86400 ] 8h [ 28800 ]
          Original Estimate 24h [ 86400 ] 8h [ 28800 ]
          Brett Porter made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Brett Porter made changes -
          Remaining Estimate 8h [ 28800 ] 7.75h [ 27900 ]
          Time Spent 0.25h [ 900 ]
          Brett Porter made changes -
          Remaining Estimate 7.75h [ 27900 ] 7.25h [ 26100 ]
          Time Spent 0.25h [ 900 ] 0.75h [ 2700 ]
          Brett Porter made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Brett Porter made changes -
          Fix Version/s 2.0-beta-2 [ 11861 ]
          Fix Version/s 2.0-beta-1 [ 11040 ]
          Brett Porter made changes -
          Component/s maven-core [ 11340 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 11704 ]
          Fix Version/s 2.0-beta-2 [ 11861 ]
          Brett Porter made changes -
          Assignee Brett Porter [ brettporter ]
          Vincent Massol made changes -
          Workflow Maven [ 37488 ] Maven New [ 48226 ]
          Brett Porter made changes -
          Link This issue is duplicated by MNG-2344 [ MNG-2344 ]
          Jason van Zyl made changes -
          Fix Version/s 2.1 [ 11704 ]
          Fix Version/s 2.1.x [ 13142 ]
          Jason van Zyl made changes -
          Link This issue depends upon MNG-1628 [ MNG-1628 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0 [ 13142 ]
          Fix Version/s 3.x [ 13145 ]
          Benson Margulies made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benson Margulies [ bmargulies ]
          Fix Version/s Issues to be reviewed for 3.x [ 13145 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12711907 ] Default workflow, editable Closed status [ 12751875 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12950365 ] Default workflow, editable Closed status [ 12986577 ]

            People

            • Assignee:
              Benson Margulies
              Reporter:
              Kenney Westerhof
            • Votes:
              14 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 0.75h Remaining Estimate - 7.25h
                7.25h
                Logged:
                Time Spent - 0.75h Remaining Estimate - 7.25h
                0.75h

                  Development