Starting unit tests automatically after saving a file(保存文件后自动启动单元测试)
问题描述
使用 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 你会感兴趣.
这篇关于保存文件后自动启动单元测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:保存文件后自动启动单元测试
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Struts2 URL 无法访问 2022-01-01
