Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-454

To set testResource base on indivdule JUnit test

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • Maven Surefire Plugin
    • None

    Description

      Hi,
      I am wondering if you can add a feature to allow user to set the testResource base on individule JUnit test or provide some hook before running individule JUnit test that I can use ant run plugin to copy resource file for this test. e.g. there are two JUnit tests A and B, Test A uses different resource files from Test B. so we don't want use testResource to copy same resource file for both A and B. We want something can copy resource file depend on which JUnit test runs.
      Thank you.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jialu Jia Lu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: