Eclipse 中的远程 JUnit 测试

发布于 2024-11-03 02:36:56 字数 192 浏览 1 评论 0原文

我已经在 eclipse 中使用 Junit 进行测试有一段时间了,但是我的测试变得相当大,因此测试通常需要几分钟左右,由于 cpu 负载,我无法正确编码。

我计划编写一个 eclipse 插件,它将我的测试和 java 文件传输到另一台主机,以便远程运行测试,然后将结果发送回我自己的电脑。

对此有什么想法吗?

提前致谢

I've been using Junit for testing in eclipse for while now, but my tests have become quite large so that testing usually takes around a few minutes in which I can't code properly due to the cpu load.

I planning to write an eclipse plugin which transfers my tests and java files to another host to have the tests running remotely and then send the results back to my own pc.

Any ideas on that?

Thanks in advance

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

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

发布评论

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

评论(2

败给现实 2024-11-10 02:36:56

我推荐像 Hudson 这样的东西,它可以从您的存储库中检查代码,进行构建,运行测试,并提供所有在运行 Hudson 的服务器上的报告(cobertura/代码覆盖率以及测试结果)。这完全减轻了您的机器执行上述任何操作的负担。

I'd recommend something like Hudson that can check out code from your repo, do the builds, run the tests, and provide the reports (cobertura/code coverage as well as test results) all on the server running Hudson. This completely offloads your machine from doing any of the above.

拥抱影子 2024-11-10 02:36:56

我会查看现在位于目标管理项目下的远程系统资源管理器。距离我上次查看它已经有几年了,但其想法是支持在 Eclipse 中修改源文件,然后将编译步骤外包给其他机器。在用 C/C++ 编写时,这种事情是至关重要的。这就是我要开始寻找的地方。祝你好运,这种事情对更广泛的社区有很大的用处。

I would look at the Remote System Explorer which is now under the Target Management project. It has been a couple of years since I last looked at it, but the idea was to support modifying source files in Eclipse and then outsourcing the compilation steps to other machines. This kind of thing is paramount when writing in C/C++. That is where I would begin looking. Good luck, this kind of thing could have great utility to the wider community.

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