首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
ParallelParameterized
全部标签
java - 如何将非并行junit参数化测试转为并行运行
我编写了一个参数化的junit测试。有没有内置的方法让它并行运行?例如任何@annoation?如果没有,我唯一的办法就是手动编写-你会如何在junit、java中管理线程池? 最佳答案 图书馆JUnitToolbox提供一个ParallelParameterized亚军。替换@RunWith(Parameterized.class)publicclassYourTest{与@RunWith(ParallelParameterized.class)publicclassYourTest{
转为
junit
section
ParallelParameterized
code
java
multithreading
testing
concurrency
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0546s