简体   繁体   中英

Is there an AJAX web-based Junit TestRunner?

What I'm looking for is a TestRunner implementation for running a suite of Java JUnit tests within a browser. The intention is that non-developers can execute the tests by visiting a browser page. Test results should be dynamically updated to the browser page with something like AJAX after each test and/or suite has completed.

I've seen a few attempts at this, but the ones I'm aware of execute all of the tests before showing any results to the browser. Take mistletoe for example.

Ideally, the implementation would be inspired by the JUnit testrunners found in IDEs such as IntelliJ IDEA or Eclipse . Is anyone aware of such a TestRunner?

该问题的答案可能帮助: TDD的JavaScript单元测试工具

I was looking for the same thing, and I've just come across ktrwjr , which I'm just about to use to integrate into my web app to run my JUnit integration tests.

Edit: I've just realised this is for testing apps developed on GAE/j. So close...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM