Closed GregoryOtt closed 6 years ago
As far as I understand, the 'Run Functional Tests' task is(will be) deprecated. I've not seen that the 'Visual Studio Test' task is now able to test against a Test Plan which is my final goal.
I close this issue and reopen for the VSTest task. Sorry for the noise.
@GregoryOtt Do you have VSTest issue in github for running tests against Test Plan?
@schmidtaa not in VSTest repo. In this repo I have a more recent issue => #6674
Got it, thanks.
Environment
Issue Description
Context
Deploying the Visual Studio Test Agent on the build agent through the VS Test Agent Deployment task.
Running netcoreapp2.0 librairy tests through RunFunctionalTests task in 'Test Assembly' mode.
Referencing runsettings file with TargetFramewrok
The
XXXX.XXXX.IntegrationTests.dll
contains a MSTest V2 extension of type RFC 003 defined inXXXX.XXXX.IntegrationTests.Core.TestCaseAssociationExtension.TestCaseTestMethodAttribute
The
XXXX.XXXX.IntegrationTests.dll
contains one MSTest V2 test using my extensionThe class
XXXX.XXXX.IntegrationTests.Core.TestCaseAssociationExtension.TestCaseTestMethodAttribute
does not contain any test.I'm targeting netcoreapp2 because the lib references an ASP.NET Core 2 project
Test runs fine with VSTest task
Expected behavior
Tests are ran
Actual behavior
The system failed to discover the test while loading my MSTest V2 extension.
Error logs