You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "David Carver (JIRA)" <ji...@apache.org> on 2010/04/06 23:15:33 UTC

[jira] Created: (BUILDR-415) Ability to exclude tests from command line or environment variable

Ability to exclude tests from command line or environment variable
------------------------------------------------------------------

                 Key: BUILDR-415
                 URL: https://issues.apache.org/jira/browse/BUILDR-415
             Project: Buildr
          Issue Type: New Feature
          Components: Test frameworks
            Reporter: David Carver


It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888163#action_12888163 ] 

Hudson commented on BUILDR-415:
-------------------------------

Integrated in Buildr-ci-build #62 (See [http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/62/])
    BUILDR-415 Ability to exclude tests from command line


> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-415-TEST-EXCLUDE.patch
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884211#action_12884211 ] 

Antoine Toulme commented on BUILDR-415:
---------------------------------------

Right now you can specify the only tests you want to run:
http://buildr.apache.org/testing.html#running



> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>             Fix For: 1.4.2
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-415.
----------------------------------

    Resolution: Fixed

Added specs and committed.

boisvert@smudge:~/svn/buildr-trunk$ svn commit -m "BUILDR-415 Ability to exclude tests from command line" CHANGELOG  spec/ lib/buildr/core
Sending        CHANGELOG
Sending        lib/buildr/core/test.rb
Sending        spec/core/test_spec.rb
Transmitting file data ...
Committed revision 963919.


> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-415-TEST-EXCLUDE.patch
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886208#action_12886208 ] 

Antoine Toulme commented on BUILDR-415:
---------------------------------------

The syntax for this would be buildr test=except bar:test

> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>             Fix For: 1.4.2
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reassigned BUILDR-415:
------------------------------------

    Assignee: Alex Boisvert

> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>            Assignee: Alex Boisvert
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-415-TEST-EXCLUDE.patch
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-415:
----------------------------------

    Fix Version/s: 1.4.2

> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>             Fix For: 1.4.2
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-415) Ability to exclude tests from command line or environment variable

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-415:
---------------------------------

    Attachment: BUILDR-415-TEST-EXCLUDE.patch

I'm proposing a syntax where a leading minus ('-') indicates a test exclusion, e.g.,

buildr test:Foo,-Bar

would include Foo and exclude Bar.   The syntax is consistent with the existing wildcard-expanding, multi-test support of the test:... rule.   For instance, you could write,

buildr test:-com.example.*,*Bar,Foo

to exclude any tests from the "com.example" package, include any tests ending in "Bar" and include any tests containing the word "Foo".

Exclusions override inclusions.   Using either inclusions/exclusions on the command-line automatically ignore includes/excludes defined in the Buildfile.

Attaching a working but not spec'ed implementation.

> Ability to exclude tests from command line or environment variable
> ------------------------------------------------------------------
>
>                 Key: BUILDR-415
>                 URL: https://issues.apache.org/jira/browse/BUILDR-415
>             Project: Buildr
>          Issue Type: New Feature
>          Components: Test frameworks
>            Reporter: David Carver
>             Fix For: 1.4.2
>
>         Attachments: BUILDR-415-TEST-EXCLUDE.patch
>
>
> It would be helpful when running certain types of continuous integration builds, to be able to not only specify which tests to be included from the command line, but also which tests to be excluded.   Currently the only way to setup exclusions is to make the appropriate entries in the Rakefile.   However other build systems like ant and maven allow ways to setup exclusions and overrides for tests from the command line or to be passed in as properties to the build.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.