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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

     [ 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)