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

Tests don't run in VS2015 Test Explorer #3121

Closed
staff0rd opened this Issue Sep 13, 2015 · 4 comments

Comments

Projects
None yet
4 participants
@staff0rd

staff0rd commented Sep 13, 2015

I followed the steps here and have EntityFramework 7 building in VS2015.

Under RunTests the instructions above note the following:

Our tests are written using xUnit.net 2.0, and can be run using your
favorite runner. We recommend either the built-in Visual Studio test
runner or TestDriven.Net.

In VS2015, executing Test > Run > All Tests results in:

------ Discover test started ------
========== Discover test finished: 0 found (0:00:00.0990702) ==========

Taking a look at Running xUnit.net tests in Visual Studio reveals that you need to:

Search for (and install) a package named xunit.runner.visualstudio

However doing so results in a failed install, for either the current stable or prerelease package;

Resolving conflicts for DNXCore,Version=v5.0...
Unable to find a version of package 'System.Dynamic.Runtime' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Text.RegularExpressions' that is compatible with version constraint '[4.0.10, )'.
Unable to find a version of package 'System.ComponentModel' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.IO.FileSystem' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Collections.Concurrent' that is compatible with version constraint '[4.0.0, )'.
========== Finished ==========
  NotFound https://az320820.vo.msecnd.net/v3-flatcontainer/microsoft.framework.primitives/index.json 1078ms

Originally asked on stackoverflow.

@ErikEJ

This comment has been minimized.

Contributor

ErikEJ commented Sep 13, 2015

👍 - me too!

@rowanmiller

This comment has been minimized.

Member

rowanmiller commented Sep 18, 2015

At this stage we are maintaining code to keep test runners working. Given this we are just going to keep Test Driven .NET working (as that is what our team uses), but we would accept contributions if folks want to keep others working too.

Once things stabilize we will make other things work.

@arielszklarkiewicz

This comment has been minimized.

arielszklarkiewicz commented Nov 6, 2015

Hi. Any update on this?
I'm trying to run tests targetint to dnxcore50, but with not success until now. I've also tried with Test Driven .Net.
Thanks!

Ariel

@rowanmiller

This comment has been minimized.

Member

rowanmiller commented Nov 6, 2015

Test Driven .NET is the runner that we use and we will ensure that it continues to work. We will enable others once the project system, runtimes, etc. stabilize (meaning we don't spend a bunch of time fixing stuff that breaks all the time).

If you are hitting issues with Test Driven .NET then file a new issue as that should work.

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