3 Star 0 Fork 0

Gitee 极速下载/git-tfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/git-tfs/git-tfs
克隆/下载
running-the-unit-tests.md 1.20 KB
一键复制 编辑 原始数据 按行查看 历史

The unit tests for git-tfs use xUnit.net.

CI-style

If you want to run tests like the CI build, then go to the src folder and run in a powershell console: .\build.ps1.

Running

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, ...).

xUnit.net console runner

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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/git-tfs.git
git@gitee.com:mirrors/git-tfs.git
mirrors
git-tfs
git-tfs
master

搜索帮助