更新时间:2023-10-18 20:14:58
首先,右键单击单元测试项目 - >经理NuGet 包:
然后更新上面显示的那两个。
如果它不起作用,请:
尝试删除%TEMP中的VS测试缓存文件%\ VisisStudioTestExplorerExtensions并重启VS2017。
问候,
Fletcher
Hi there, I've just installed Visual Studio Community Edition which I will eventually be using for my test automation framework. However, in order to get up and running I wanted to create a simple unit test project and run it so that it goes 'green' from the Test Explorer Window.
The issue I have is that when I run the test from the Test Explorer window by RHC on it and selecting Run Selected Tests nothing happens in the Test Explorer window. Furthermore, in the Output window I get the below error appear:
"No test is available in .... Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again."
Furthermore, my Visual Studio set-up is as below.
Any help would be much appreciated
Andy
Andrew Tilston
First, right-click unit test project -> Manager NuGet Package:
Then update those two shown above.
If it's not working, please:
Try deleting VS test cache files in %TEMP%\VisualStudioTestExplorerExtensions and restart VS2017.
Regards,
Fletcher