사용자 도구

사이트 도구


java:junit:contiperf

문서의 이전 판입니다!


ContiPerf

Test Code

public class UserSerializerTest {
 
    @Rule
    public ContiPerfRule i = new ContiPerfRule();
 
    @Test
    @PerfTest(invocations = 200, threads = 2) // 2개 쓰레드에서 200번(각 100번)호출
    public void shouldSerializeRandomUser() throws JAXBException {
 
        // ...
    }
}
java/junit/contiperf.1448255915.txt.gz · 마지막으로 수정됨: 2015/11/23 13:48 저자 kwon37xi