I am trying to run my acceptance tests in Visual Studio Team System (VSTS) after deploying the code to a website. The deployment has been working months. The test step is failing with the following message:
Here is the log:
##[section]Starting: Test Assemblies **\*acceptance.tests.dll;-:**\obj\** ============================================================================== Task : Visual Studio Test Description : Run tests with Visual Studio test runner Version : 2.0.24 Author : Microsoft Corporation Help : [More Information] (https://go.microsoft.com/fwlink/?LinkId=835764) ============================================================================== !**\obj\** [command]"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "d:\a\r1\a\Build website\drop\HepC.Web.Acceptance.Tests.dll" /logger:trx Microsoft(R) Test Execution Command Line Tool Version 14.0.25420.1 Copyright(c) Microsoft Corporation.All rights reserved. Starting test execution, please wait... Warning: No test is available in d:\a\r1\a\Build website\dropdll.Make sure that installed test discoverers & executors, platform & framework versionnd try again. Information: Additionally, you can try specifying '/UseVsixExtensions' command if the is installed on the machine as vsix extensions and your installation supports vsix .console.exe myTests.dll /UseVsixExtensions:true ##[warning]No results found to publish. ##[section]Finishing: Test Assemblies **\*acceptance.tests.dll;-:**\obj\** I am using NUnit 3 however the NUnit adapter has not been packaged up as part of the deployment so it can't see it. What is the best way to resolve this? It seems a bit odd to package NUnit3TestAdapter as part of the main website just so I can run some tests after deployment.