Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13923

Test target (task?) should fail when no tests run in Gradle build

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None

      Description

      With the ant build if you try to test a nonexistent test case or method (-Dtestcase=NoSuchThing, the build will fail; this is pretty helpful if you make a lot of typos or forget the names of things. According to Dawid Weiss we can get this behavior in gradle by listening to the test results and failing if no tests ran.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dweiss Dawid Weiss
                Reporter:
                sokolov Michael Sokolov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: