This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| junit [2021/02/07 03:54] – removed ledyx | junit [2021/02/07 05:50] (current) – old revision restored (2016/07/16 15:42) ledyx | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | = JUnit = | ||
| + | [[http:// | ||
| + | |||
| + | {{tag> | ||
| + | |||
| + | = 기본 설정 = | ||
| + | class 상단에 기술. | ||
| + | |||
| + | <sxh java> | ||
| + | @RunWith(SpringJUnit4ClassRunner.class) | ||
| + | @ContextConfiguration(locations ={" | ||
| + | </ | ||
| + | |||
| + | = Test시 Method 순서 지정 = | ||
| + | class 상단에 기술. | ||
| + | |||
| + | Method 이름 순서대로 Test. | ||
| + | <sxh java> | ||
| + | @FixMethodOrder(MethodSorters.NAME_ASCENDING) | ||
| + | </ | ||
| + | |||