Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-360

Honor system property for exporting test archives

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Estimated Difficulty:
      Low

      Description

      Often times a developer will want to dump the test archives to inspect them when debugging a test failure. Currently, this requires editing the arquillian.xml descriptor (assuming there is one) and refreshing the project. As an alternative, it would be convenient to have a system property that would activate this feature for a single test run:

      mvn test -Darquillian.exportPath=target/

      Since the goal of this run is to export the archives, not necessarily run the tests (since presumably the test is currently failing), it would be nice to have an "export only" mode that just generates the archives.

      mvn test -Darquillian.exportPath=target/ -Darquillian.exportOnly=true

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  dan.j.allen Dan Allen
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: