You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Sokolov (Jira)" <ji...@apache.org> on 2019/11/12 14:58:00 UTC

[jira] [Created] (SOLR-13923) Test target (task?) should fail when no tests run

Michael Sokolov created SOLR-13923:
--------------------------------------

             Summary: Test target (task?) should fail when no tests run
                 Key: SOLR-13923
                 URL: https://issues.apache.org/jira/browse/SOLR-13923
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Build
            Reporter: Michael Sokolov


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 [~dweiss] we can get this behavior in gradle by listening to the test results and failing if no tests ran.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org