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

Honor system property for exporting test archives

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha5
    • 1.0.0.Alpha4
    • Configuration
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Low

      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

            aslak@redhat.com Aslak Knutsen
            dan.j.allen Dan Allen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: