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

          Brett Porter logged work - 23/Aug/05 00:35
          • Time Spent:
            0.25h
             
            did some preliminary analysis of what is out there and needed
          Brett Porter logged work - 23/Aug/05 07:22
          • Time Spent:
            0.5h
             
            documented, reviewing options

            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