代码拉取完成,页面将自动刷新
The unit tests for git-tfs use xUnit.net.
If you want to run tests like the CI build, then go to the src
folder and run in a powershell console: .\build.ps1
.
To run the tests, you can use the console runner. You also may be able to run the tests inside Visual Studio in the 'Test Explorer' (or use another launcher like Reshaper, ncrunch, ...).
Here is an example running the tests with the console runner:
C:\src\git-tfs\src>packages\build\xunit.runner.console\tools\net452\xunit.console.exe GitTfsTest\bin\Debug\GitTfsTest.dll
xUnit.net console test runner (32-bit .NET 4.0.30319.269)
Copyright (C) 2007-11 Microsoft Corporation.
xunit.dll: Version 1.9.1.1600
Test assembly: C:\src\git-tfs\GitTfsTest\bin\Debug\GitTfsTest.dll
GitTfs.Test.Integration.CloneTests.FailOnNoProject [SKIP]
eventually
GitTfs.Test.Integration.CloneTests.ClonesEmptyProject [SKIP]
eventually
GitTfs.Test.Commands.HelpTest.ShouldWriteCommandHelp [SKIP]
Not sure why this doesn't work.
GitTfs.Test.Commands.HelpTest.ShouldWriteGeneralHelp [SKIP]
Not sure why this doesn't work.
103 total, 0 failed, 4 skipped, took 16.156 seconds
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。