TestAdapters | Test Adapters and Frameworks for Visual Studio
kandi X-RAY | TestAdapters Summary
kandi X-RAY | TestAdapters Summary
Test Adapters and Frameworks for Visual Studio.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TestAdapters
TestAdapters Key Features
TestAdapters Examples and Code Snippets
Community Discussions
Trending Discussions on TestAdapters
QUESTION
I am trying to use NUnit 3 within Visual Studio Team System which they seem to have made really hard. I have added in a test assemblies step to the build process and in Advanced execution options -> Path to Custom Test Adapters, I have put in the directory path to NUnitVisualStudioTestAdapter-2.0.0.vsix plugin as advised in the help.
No matter what I do it doesn't seem to find or attempt to run this. It just runs Visual Studio Test and reports that no tests were found. I have also tried putting the test adapter in as a NuGet package and the path to the tools in that, but that doesn't work either.
Has anyone managed to get NUnit working in VSTS and reporting back test results?
The log I get is:
...ANSWER
Answered 2018-Oct-06 at 17:13The path to custom test adapters must point to the extracted vsix or the extracted NuGet package.
The easiest way to make this work is to add the NUnit Test Adapter NuGet package 2.x/3.x to your unit test project. The VsTest task should automatically detect test runners that are restored to the NuGet packages directory:
Make sure the nunit.framework version and the NUnit adapters versions match. Make sure that both packages are added to your test projects.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TestAdapters
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page