如何在 .NET 中进行持续测试?

发布于 2024-09-05 17:08:17 字数 181 浏览 1 评论 0原文

当我进行 java 开发时,我使用 Infinitest 进行持续测试,当我在 .nET 中开发时,我真的很怀念即时反馈。

如何在 C# 和 C# 中进行持续测试? 。网?

编辑:我不是在寻找持续集成,例如 CruiseControl、TeamCity 等。 这是一个与我正在寻找的 IDE 配合使用的即时反馈工具

I'm using Infinitest for continuous testing when I do java development and i really miss the instant feedback when I develop in .nET

How do I do continuous testing in C# & .NET?

EDIT: I'm not looking for continuous integration, like CruiseControl, TeamCity etc.
It's an instant feedback tool that works with your IDE that I'm looking for

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

善良天后 2024-09-12 17:08:17

我发现了另一个非常有用的 VisualStudio 扩展:
NCrunch http://www.ncrunch.net/
我真正喜欢它的是,它在您键入时在后台运行代码测试(无需保存/构建),它仅运行受更改代码影响的测试,并且它会自动显示代码中的哪些行通过测试/失败测试涵盖以及未涵盖哪些行。它支持 NUnit、MS Test、Xunit、MbUnit、MSpec :)

I discovered another extension for VisualStudio that is really helpful:
NCrunch http://www.ncrunch.net/
What I really like about it is that it runs the tests of your code in the background while you are typing (no saving/build required), it runs only tests that are influenced by changed code and it automatically shows which lines in your code are covered by passing tests/by failing tests and which lines are not covered. And it supports NUnit, MS Test, Xunit, MbUnit, MSpec :)

泪意 2024-09-12 17:08:17

如果您使用的是 Visual Studio 2008 或 2010,则应查看扩展Visual Studio 连续测试

请注意,它不会在您保存时运行测试,而是在每次构建时运行测试。

If you're using Visual Studio 2008 or 2010, you should take a look at the extension Continuous Testing for Visual Studio.

Note that it does not run the tests when you save, but rather on each build.

柏林苍穹下 2024-09-12 17:08:17

尽管它确实能做更多的事情,CruiseControl.NET 可以与 NUnit 集成时进行持续测试。

我还发现测试和构建的持续反馈非常有用。

Although it does do more, CruiseControl.NET can do continous testing when it's integrated with NUnit.

I also find the continous feedback of testing and building to be really useful.

脱离于你 2024-09-12 17:08:17

我建议使用持续集成服务器,例如 TeamCity。它还为 Visual Studio 提供了一个插件,允许您在 IDE 中构建项目并对其运行单元测试。

I would recommend using a continuous integration server like TeamCity. It also provides a plugin for Visual Studio which allows you to build your project and run unit tests on it from within the IDE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文