Gallio的用户,您在使用这个工具时经历过哪些优点和缺点?

发布于 2024-07-04 07:36:37 字数 106 浏览 5 评论 0原文

对于那些熟悉 Gallio 的人来说,使用这个工具(所谓的测试自动化)有哪些优点和缺点平台?

For those of you familiar with Gallio, what Advantages and Disadvantages have you experienced using this tool, a so-called Test Automation Platform?

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

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

发布评论

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

评论(7

浮云落日 2024-07-11 07:36:37

当我们评估 Gallio 时,我们遇到了大型项目的稳定性问题。 然而,我们的小型项目运行得很好。 很棒的概念......我认为一旦它更加完善一点,它就会引起很大的轰动。

我可能想补充一点,Resharper 支持缺失(或损坏)了一段时间,但我听说它又回来了。

When we evaluated Gallio, we experienced stability issues with large projects. Our smaller projects ran beautifully, however. Great concept...I think it will generate a big buzz once it's a bit more refined.

I might want to add that Resharper support was missing (or broken) for a while, but I've heard it's back.

生生不灭 2024-07-11 07:36:37

Gallio 的最新版本 (3.0.6) 解决了这些帖子中提到的许多稳定性问题。 特别是,Icarus 现在更加稳定,并且能够附加到内置的调试器,因此它的使用速度甚至比 Resharper 更快,Resharper 在每次测试运行之前都会重新编译代码。

The latest release of Gallio (3.0.6) has address a lot of the stability issues mentioned in the these posts. In particular, Icarus is much more stable now and has the ability to attach to the debugger built in, so it can be even faster to use than Resharper which recompiles the code before each test run.

药祭#氼 2024-07-11 07:36:37

我也尝试了 Gallio,它的运行速度比 TDD.Net 或本机 NUnit GUI 测试运行器慢得多。 它甚至比 Resharper 跑步者还慢!

我应该补充一点,我在这里讨论的是运行 NUnit 测试。

我不记得确切的数字,但相同的测试大约需要 3 分钟,NUnit 在 30 秒内完成(在一个线程、单进程、多域上运行)。

这本身就已经让人无法接受。 再加上庞大的 GUI,你就知道要远离它。


一些额外信息:

  • 在我的解决方案中,我有 NUnit 测试和
    最近开始添加 MSpec
    规格。 我有 NUnit Gui
    打开以自动重新运行我的旧版本
    测试(所有新测试都写为
    MSpecs)在我重新编译之后
    测试 dll 更改。

  • 我使用 TDD.Net 来运行我的 Mspec 规范。

  • 这使我能够在我的规范完成运行而 NUnit Gui 运行程序正在运行时继续工作
    仍在完成。

I tried Gallio as well and it runs much slower than either TDD.Net or the native NUnit GUI test runner. It is even slower than the Resharper runner!

I should add that I'm talking about running NUnit tests here.

I don't remember the exact numbers but it was taking around 3 minutes for the same tests, that NUnit finished in 30s (running on one thread, single process,multiple domain).

That in itself already makes it a no go. Add to that the bulky GUI and you know to stay way from it.


Some extra information:

  • In my solution I have NUnit tests and
    recently started adding MSpec
    specifications. I have the NUnit Gui
    open to automatically rerun my old
    tests (all new tests are written as
    MSpecs) after I recompile and the
    test dlls change.

  • I use TDD.Net to run my Mspec specifications.

  • This enables me to already continue working once my Specs have finished running while the NUnit Gui runner is
    still finishing.

命比纸薄 2024-07-11 07:36:37

我们使用 Gallio/MbUnit 已经一年了。 我们对此非常满意,Gallio 人员不断推出很酷的新功能,并且开发工作正在积极进行。 如果您决定使用它,这里有一些提示/注释:

  1. 为自己购买 TestDriven.NET 许可证 - 我认为这是 Gallio 单元测试的必备条件,因为 Resharper 测试运行程序不知道如何运行某些测试 + Gallio 有一个针对 TD.NET 的测试运行程序。
  2. 我们使用 Gallio.Echo 命令行运行器来执行 CI 脚本/构建。 Gallio Icarus - GUI 运行器(至少是当前版本)非常不稳定并且不太用户友好。
  3. 如果您想使用最新的 Gallio 功能(例如并行测试等),请准备好使用 Gallio 的最新每日版本。 如果这是一个问题,请保留“官方”构建,但我们的日常构建版本没有遇到任何真正的问题。
  4. 我建议将基本的 Gallio .DLL 和 .EXE 添加到源代码管理中。 实际上,在您的项目中引用这些,而不是来自 GAC 的项目。 这样,如果您团队中的某人在他/她的计算机上安装了不同版本的 Gallio,您将避免任何“在我的计算机上运行”问题。

We're using Gallio/MbUnit for a year now. We're quite happy with it, the Gallio guys keep introducing cool new features and the development is active. If you decide to use it, here are some hints/notes:

  1. Buy yourself a TestDriven.NET license - I think it is a must for Gallio unit tests, since Resharper test runner doesn't know how to run certain tests + Gallio has one of its test runners targeted for TD.NET.
  2. We use Gallio.Echo command line runner for CI scripts/builds. Gallio Icarus - the GUI runner (at least the current version) is pretty unstable and not very user friendly.
  3. If you want to use the latest Gallio features (like parallel tests etc), be prepared to have to use the latest daily builds of Gallio. If this is an issue, keep to "official" builds, but we haven't had any real problems with daily build versions.
  4. I recommend adding the basic Gallio .DLLs and .EXEs to your source control. And actually reference these in your projects, not ones from GAC. This way you'll avoid any "works on my machine" problems if someone in your team has a different version of Gallio installed on his/her machine.
萌逼全场 2024-07-11 07:36:37

从优点来看,与所有内容的集成都非常好:) 说真的,我非常喜欢与 Visual Studio Team System 的实验性集成(屏幕截图 此处)。 我认为这确实降低了单元测试新手的门槛。

从我的角度来看,到目前为止,唯一的缺点是它尚未发布。

On the advantages front, integration with everything is quite nice :) Seriously, I'm a huge fan of the experimental integration with Visual Studio Team System (screenshots here). I think that really lowers the bar for those new to unit testing.

The only disadvantage from my perspective so far is the fact that it isn't released yet.

甜`诱少女 2024-07-11 07:36:37

我一直在评估 Gallio,这确实是一个很棒的概念。 现在我不必告诉我的开发人员他们必须使用什么单元测试框架,因为它与我所知道的所有主要框架集成了。 他们可以使用他们最舒服的方式,并且我得到经过单元测试的代码。

Resharper 集成也很好。 我可以使用 Resharper 运行所有单元测试,而无需跳到命令行来运行它们。

在我看来,这肯定会让在商店中引入单元测试变得更加容易。 我同意 @David< /a>,缺点是还没有发布。

I have been evaluating Gallio and it is truly a great concept. Now I don't have to tell my developers what unit testing framework they have to use, because it has integration with all the major ones that I know of. They can use which ever they are most comfortable with and I get unit tested code.

The Resharper integration is nice also. I can run all the unit tests with Resharper without having to jump out to a command line to run them.

This should definitely make introducing unit testing into shops a lot easier in my opinion. I agree with @David, the downside is that it isn't released yet.

北陌 2024-07-11 07:36:37

它非常不稳定,我大约 3-4 个月前使用过它,它非常不稳定而且速度很慢。

现在我刚刚尝试过,当您单击“保存”时它会崩溃,然后它永远不会再次打开,除非您去清理“本地设置”,我认为它仍然非常不稳定。

我希望他们停止添加新功能,而是修复这些相当明显的错误。

PS 项目有 1000~ 单元测试,并且它正在使用 nUnit(也许这只是我的 nUnit 和 Gallio 不能很好地配合)

我真的很想使用它,并且我有 3.1 - 313,如果没有它,我什至无法保存项目发生车祸!

这里毕竟是坏东西的优点:

  • 对不同风格的大力支持,我已经将它用于 nUnit 和 mbUnit,它真的很好。 它甚至很好地支持 nUnit 中的 RowTest。

  • GUI 非常酷,干净

  • 有很棒的功能,例如设置工作目录
  • 报告和报告。 一体化

It's terrible unstable, I used it about 3-4 months ago it was terrible unstable and slow.

Now I've just tried it and it crashes when you click "Save", then it never opens again unless you go and clean up the "Local Settings", I assume it's still terrible unstable.

I wish they would stop adding new features and instead fix these rather obvious bugs.

P.S. Project got 1000~ unit tests and it's using nUnit (maybe it's just my nUnit and Gallio don't play well together )

I really want to use it and I've got 3.1 - 313, I couldn't even save a project without getting a crash!

After all bad stuff advantages Here:

  • Great support for different flavours, I've used it for nUnit and mbUnit it's really good. It even support RowTest in nUnit very well.

  • GUI is pretty cool, clean

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