Skip to content
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

Test case filter doesn't filter tests in .net core #201

Closed
codito opened this issue Nov 9, 2016 · 2 comments
Closed

Test case filter doesn't filter tests in .net core #201

codito opened this issue Nov 9, 2016 · 2 comments
Assignees

Comments

@codito
Copy link
Contributor

codito commented Nov 9, 2016

Description

User will not be able to filter tests using the --testCaseFilter argument with vstest.console.

Steps to reproduce

Run the following commands:

> dotnet new -t mstest
> vim Tests.cs // add a test named TestMethod2
> dotnet restore
> dotnet build
> dotnet test --tcf:"Name~TestMethod2"

Expected behavior

Only TestMethod2 should run

Actual behavior

All tests are run

Environment

vstest from e2fa84d

@TheRealPiotrP
Copy link
Contributor

+1

@codito
Copy link
Contributor Author

codito commented Nov 17, 2016

Fixed with 3d55d61

@codito codito closed this as completed Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants