You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jhorstmann <gi...@git.apache.org> on 2014/12/16 09:24:40 UTC

[GitHub] maven-surefire pull request: Run individual methods with junit48

GitHub user jhorstmann opened a pull request:

    https://github.com/apache/maven-surefire/pull/75

    Run individual methods with junit48

    This implements a method filter for the junit 4.8 provider that supports the same syntax as discussed in <https://jira.codehaus.org/browse/SUREFIRE-745> and documented in <http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html#Running_a_Set_of_Methods_in_a_Single_Test_Class>. That ticket apparently only contained an implementation for the junit 4.0 provider and only handled one or two methodss per class.
    
    I still have to add tests for this functionality. Would unit tests just for the method filter, using mocked Descriptions, be enough or do you also require integration tests? If so I would need some pointers to how the setup of integration tests inside surefire itself would work.
    
    Let me know what you think of this approach.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jhorstmann/maven-surefire run-individual-methods-with-junit48

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-surefire/pull/75.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #75
    
----
commit 7c6f63a0d7c52c7abcaaf483c325b2a423971a09
Author: Jörn Horstmann <gi...@jhorstmann.net>
Date:   2014-12-16T08:14:38Z

    Implement running of individual methods with junit 4.8 and junit core

commit 650ee1565ba504294a6fbcd1acf8e48e3efb7e2b
Author: Jörn Horstmann <gi...@jhorstmann.net>
Date:   2014-12-16T08:16:55Z

    Remove debug output

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[GitHub] maven-surefire pull request: Run individual methods with junit48

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/maven-surefire/pull/75


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org