Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-414

gradle.home System property should not be required to run test suite

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.5.2
    • Fix Version/s: 0.6

      Description

      Gradle's build adds -Dgradle.home=roadToNowhere to the test JVM arguments for the benefit of only one test: org.gradle.MainTest .

      This makes running the test suite in an IDE environment more difficult. It would be better if the test set the property itself.

      I've attached a patch that sets the property in that test and replaces the previous value in the teardown to avoid messy static state sharing inside a test suite.

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            ncurzon Neil Curzon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: