You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2015/07/13 21:03:05 UTC

[jira] [Closed] (GROOVY-5493) AllTestSuite should be more flexible

     [ https://issues.apache.org/jira/browse/GROOVY-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pascal Schumacher closed GROOVY-5493.
-------------------------------------
    Resolution: Won't Fix

As test suites have been replaced by automatic test discovery in recent years I'm closing this as won't fix.

> AllTestSuite should be more flexible
> ------------------------------------
>
>                 Key: GROOVY-5493
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5493
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Uri Moszkowicz
>
> The class AllTestSuite is convenient but not very flexible. Recognizing the value in simple construction, I propose the following revised interface for it:
> // Unless otherwise specified,
> //   basedir = "."
> //   includePattern = "**/*Test.groovy"
> //   excludePattern = ""
> class AllTestSuite {
>   AllTestSuite()
>   AllTestSuite(File basedir)
>   AllTestSuite(String pattern)
>   AllTestSuite(File basedir, String pattern)
>   AllTestSuite(File basedir, String includePattern, String excludePattern)
>   void addTests()
>   void addDirTests(String basedir)
>   void addPatternTests(String pattern)
>   void addTests(String basedir, String pattern)
>   void removeTest(String name)
>   void removeTests(String pattern)
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)