This is an old revision of the document!


JUnit
기본 설정

class 상단에 기술.

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations ={"file:src/main/webapp/WEB-INF/spring/**/*.xml"})

Test시 Method 순서 지정

class 상단에 기술.

Method 이름 순서대로 Test.

@FixMethodOrder(MethodSorters.NAME_ASCENDING)

junit.1612670061.txt.gz · Last modified: by ledyx