나는 200 초가 걸리는 단위 테스트를 가지고 있습니다. NetBeans 프로파일 러를 사용하여 속도를 높이려고합니다. 그러나 프로파일 러는 단위 테스트를 실행하지 않습니다. 단지 테스트 객체를 생성하고 종료합니다. 실제 테스트 메소드 나 @Before/@After 메소드를 실행하지 않습니다. Netbeans 프로필 JUnit 4 문제
이
는 확실한과의 JUnit 4부분적인 출력은 아래와 같다와 받는다는 프로젝트이다.
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 9)
Profiler Agent: Established local connection with the tool
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cris.puzzle.solvers.SudokuSolverTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
Profiler Agent: Initializing...
Profiler Agent: Options: >C:/Program Files/NetBeans 6.8/profiler3/lib,5140,10<
Profiler Agent: Initialized succesfully
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: 14 seconds
누구나 작동 방식을 알고 있습니까? 고맙습니다.
흠, 그렇지만 JUnits를 통해 프로파일하는 방법을 알고 싶었습니다. 시간 내 주셔서 감사합니다. –