[英]VS2015 Test Explorer doesn't run or show test results
測試資源管理器正確地顯示了我項目中的所有測試,所以我的問題與搜索結果不匹配我一直發現測試沒有顯示,但是當我“全部運行”,或選擇並運行單個測試時,沒有什么是跑。 如果我調試測試,他們會進入每個測試。
測試窗口中的輸出顯示:
------ Run test started ------
NUnit VS Adapter 2.0.0.0 executing tests is started
Loading tests from C:\Project\bin\Debug\Project.Tests.dll
Run started: C:\Project\bin\Debug\Project.Tests.dll
NUnit VS Adapter 2.0.0.0 executing tests is finished
========== Run test finished: 0 run (0:00:03.2384917) ==========
我在這個項目中安裝了以下NuGet包:
也許你沒有正確安裝包。 如果您使用的是NUnit,則必須安裝NUnit軟件包。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.