保存文件后自动启动单元测试 [英] Starting unit tests automatically after saving a file

查看:29
本文介绍了保存文件后自动启动单元测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Ruby on Rails,我可以使用自动测试,每次保存代码文件时自动运行所有测试.此外,框架仅启动受更改影响的测试,并通知我测试结果.使用 Eclipse 时我的 java 开发有什么类似的吗?

With Ruby on Rails, I could use autotest, to run all my tests automatically each time, when I saved a file of my code. Additionally, the framework started only the tests that were affected by the change and it notified me of the test results. Is there anything similar for my java development when using Eclipse?

我不想要为我生成测试的东西,它应该在正确的时间自动启动正确的测试.

I don't want something that generates tests for me, it just should start the right tests at the right time automatically.

推荐答案

可能 Infinitest 你会感兴趣.

这篇关于保存文件后自动启动单元测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆