有没有办法让 nunit-console 指示其进度?
nunit-console 不会在命令行中提供进度指示器,指示测试已通过或失败,直到所有测试都运行为止。这有点糟糕,因为 rspec 将输出每个通过/失败的测试。
有没有办法让 nunit-console 在运行时指示通过/失败测试?
如果重要的话,我会将多个程序集传递到对 nunit-console 的单个命令行调用中。
nunit-console doesn't give a progress indicator at the command line indicating tests that have passed or failed until all tests have run. This kinda sucks since rspec will output each passing/failing test.
Is there a way to make nunit-console indicate a passing/failing test as it's running?
If it matters, I'm passing multiple assemblies into a single command line call to nunit-console.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您将在此处找到一些代码 创建 NUnit 的插件 dll(说明很简单)。您可以使用 TestStarted() 和 TestFinished() 在控制台上写入测试已开始或完成、失败或成功。
you'll find some code here to create an addin dll to NUnit (the instructions are simple). You could use TestStarted() and TestFinished() to write on the console that a test have started or finished, failed or succeeded.