## Maven 依赖 ```Plain Text junit junit 4.12 test ``` ```Plain Text com.github.houbb junitperf 1.0.3 ``` ## Maven 插件 ```Plain Text maven-assembly-plugin assembly.xml racal.sunyard.main.Version jar-with-dependencies package single ``` ```Plain Text fat-tests jar false / true true test ${project.build.directory}/test-classes / **/*.class true ``` ## 使用 使用 `xxx-fat-tests.jar` 测试类 `TestCIPSPref0` 执行脚本 ```Plain Text timeout /nobreak /t 5 C:\j2sdk-image\bin\java -Dip=192.168.5.8 -Dfile.encoding=utf-8 -cp .\xxx-fat-tests.jar org.junit.runner.JUnitCore TestCIPSPref0 @pause ```