TestNG(十四) 線程測試
package com.course.testng.thread; import org.testng.annotations.Test; public class multiThread { @Test(invocationCount = 10, threadPoolSize = 3) public void test(){ System.out.println("線程測試"); System.out.printf("Thread Id: %s%n",Thread.currentThread().getId()); } }


創作不易,轉摘請標明出處。如果有意一起探討測試相關技能可加博主QQ 771268289 博主微信:ding17121598
本文來自博客園,作者:怪圣卡杰,轉載請注明原文鏈接:http://www.rzrgm.cn/dwdw/p/11422410.html
浙公網安備 33010602011771號