您的位置:首页 > 其它

dotnet core test with NUnit

2017-11-01 13:49 501 查看
https://github.com/nunit/dotnet-test-nunit

if you are using Visual Studio.

Your
project.json
in your test project should look like the following;

{
"version": "1.0.0-*",

"dependencies": {
"NUnit": "3.5.0",
"dotnet-test-nunit": "3.4.0-beta-3"
},

"testRunner": "nunit",

"frameworks": {
"netcoreapp1.0": {
"imports": "portable-net45+win8",
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
}
}
}
}


https://www.nuget.org/packages/dotnet-test-nunit/

Install-Package dotnet-test-nunit -Version 3.4.0-beta-3
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: