Are there any good Continuous Testing plugins for Eclipse out right now?

后端 未结 6 1079
半阙折子戏
半阙折子戏 2021-02-05 17:28

I\'ve used the MIT Continuous testing plugin in the past, but it has long since passed out of date and is no longer compatible with anything approaching a modern release of Ecli

相关标签:
6条回答
  • 2021-02-05 17:39

    I found that Infinitest now has an Eclipse plugin that seems to work pretty well.

    0 讨论(0)
  • 2021-02-05 17:42

    Infinitest decides what tests it wants to run. Often it runs the wrong ones. Green bar sometimes good, sometimes meaningless.

    0 讨论(0)
  • 2021-02-05 17:47

    There is a list in this Ben Rady article at Object Mentor: Continuous Testing Explained. Unfortunately the only Eclipse tool appears to be CT-Eclipse which is not currently maintained either.

    There is also Fireworks for IntelliJ and Infinitest which is not IDE specific but also has some IntelliJ integration.

    0 讨论(0)
  • 2021-02-05 17:55

    My experience is that continuous testing within the IDE can become unwieldy and distracting, so I prefer to use something like CruiseControl to do this kind of testing. One tool I have found very useful is EclEmma, which gives you a very fast coverage turnaround for your units, helping you to decide when you have finished testing a particular area of the code.

    0 讨论(0)
  • 2021-02-05 17:58

    I also use Infinitest (and voted for one of its answers), but I wanted to add another approach, which relies on the build server. Whenever you want to implement something, create a branch in your VCS, do your changes, commit to your branch. If you have a build server configured, which runs unit tests on every checkin, your unit tests are then run on the build server without actually having polluted the trunk (or HEAD, whatever you call it) and without you waiting for the test run to finish.

    I admit that this is not really continuous unit testing in the sense you asked the question, but for large projects or large test suites even a "normal" continuous test runner may slow you down way to much.

    For small projects I also recommend Infinitest or CT Eclipse.

    0 讨论(0)
  • 2021-02-05 18:00

    I've had good experience with infinitest on a small and simple project. I've not run into any issues with it and find it fast and helpful.

    0 讨论(0)
提交回复
热议问题