-
Notifications
You must be signed in to change notification settings - Fork 41
.NET 4.5.1 test runs fail with "EXEC : warning : No test is available" #248
Comments
Self-assigning |
Not 💯% sure but it appears xUnit has dropped .NET 4.5.1 support. Filed xunit/xunit#1102 in hopes this was unintended. |
.NET 4.5.1 is obsolete and unsupported by Microsoft. .NET 4.5.2 is the minimum version with support. Your unit tests need to be for .NET 4.5.2 but they can still reference .NET 4.5 libraries (as per normal referencing rules). |
Time to update all test projects to executing using .NET 4.5.2 instead of 4.5.1. Because it's not clear whether anything else will need to change, follow the checklist below:
|
I've been meaning to make the following change anyways...as long as you are updating all test projects, can we make this change too? Any project that targets: <TargetFrameworks>netcoreapp1.1;net4XY</TargetFrameworks> should change to <TargetFrameworks>netcoreapp1.1;net4XY</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netcoreapp1.1</TargetFrameworks> This will mean only .NET Core compiles and tests on Linux. cref aspnet/KoreBuild#160 |
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1
- #248 - xUnit no longer supports .NET 4.5.1
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- #248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows - except Microsoft.Extensions.Configuration.AzureKeyVault.Test project; that will be handled differently
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows Also fix line endings in one src project. Otherwise unable to update repo.
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows - except Microsoft.Owin.Security.Interop.Test; will need to skip that for non-Windows some other way
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows Address existing issues - work around test failures, including #350 - skip tests mentioned in #350 - reorder xunit and xunit.runner.visualstudio; setup fails for .NET Core otherwise - skip all tests using LocalDB on Linux and OSX - `[FrameworkSkipCondition(RuntimeFrameworks.Mono)]` now redundant - correct AppVeyor image nits: - let VS add the test `<Service>` - use `[ConditionalFact]` when there's no test data
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - target .NET 4.6.1 in Microsoft.Owin.Security.Interop.Test; avoids .NET 4.5.2 System.Xml casing issue - build tests for desktop .NET only on Windows - except Microsoft.Owin.Security.Interop.Test; already skipped using repo.props
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - target .NET 4.6.1 in Microsoft.Owin.Security.Interop.Test; avoids .NET 4.5.2 System.Xml casing issue - build tests for desktop .NET only on Windows - except Microsoft.Owin.Security.Interop.Test; already skipped using repo.props - enable binding redirects for one test project
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - skipping 4.5.2 to avoid that version's odd System.XML casing and related Linux failures - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - skipping 4.5.2 to avoid that version's odd System.XML casing and related Linux failures - update AppVeyor config so this framework version is available - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - update AppVeyor config so this framework version is available - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - update AppVeyor config so this framework version is available - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - update AppVeyor config so this framework version is available - build tests for desktop .NET only on Windows
- aspnet/Testing#248 - xUnit no longer supports .NET 4.5.1 - update AppVeyor config so this framework version is available - build tests for desktop .NET only on Windows
Since xUnit published RC1 bits, many .NET 4.5.1 test runs have started to fail with the above error. Such runs do not execute any tests. This reduces our test coverage across the repos. For example, MVC has dropped from running 6968 tests to just 3638,
Moving our xUnit dependencies back to 2.2.0-beta5-build3474 seems to work in the Performance repo. But, that's not the right fix. Should instead adjust EntityFramework, Performance , and Testing to whatever has changed in xUnit. Start with Testing because other repos use its xUnit extensions.
The text was updated successfully, but these errors were encountered: