New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for class/namespace/method arguments for XUnit2 #1952

Closed
kcamp opened this Issue Dec 15, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@kcamp
Collaborator

kcamp commented Dec 15, 2017

It would be useful to have a way to natively support targeting namespace/class/method tests via the XUnit2 console runner.

  -method "name"         : run a given test method (should be fully specified;       
                         : i.e., 'MyNamespace.MyClass.MyTestMethod')                 
                         : if specified more than once, acts as an OR operation      
  -class "name"          : run all methods in a given test class (should be fully    
                         : specified; i.e., 'MyNamespace.MyClass')                   
                         : if specified more than once, acts as an OR operation      
  -namespace "name"      : run all methods in a given namespace (i.e.,               
                         : 'MyNamespace.MySubNamespace')                             
                         : if specified more than once, acts as an OR operation      

I've made a pass over this functionality; will submit PR shortly

kcamp added a commit to kcamp/cake that referenced this issue Dec 15, 2017

kcamp added a commit to kcamp/cake that referenced this issue Dec 18, 2017

@devlead devlead added the Improvement label Dec 19, 2017

@devlead devlead added this to the v0.24.0 milestone Dec 19, 2017

devlead added a commit that referenced this issue Dec 19, 2017

Merge branch 'kcamp-GH-1952' into develop
* kcamp-GH-1952:
  GH-1952: Add support for targeting namespace/class/method via xunit.console.runner
@devlead

This comment has been minimized.

Show comment
Hide comment
@devlead

devlead Dec 22, 2017

Member

fixed by #1953

Member

devlead commented Dec 22, 2017

fixed by #1953

@devlead devlead closed this Dec 22, 2017

CRuppert added a commit to CRuppert/cake that referenced this issue Jan 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment