简体   繁体   中英

Automatically organising JUnit tests

On our project we organise our unit tests according to the maven convention.

src/main/java/com.company.project/SomeClass.java
src/test/java/com.company.project/SomeClassTest.java

Can anyone recommend a good tool for keeping test classes in sync when the class under test changes name or moves package, or even moves from one maven project to another?

尝试使用moreUnit(http://moreunit.sourceforge.net/)进行月食。

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