Last active
December 17, 2015 23:59
-
-
Save HeartSaVioR/5693701 to your computer and use it in GitHub Desktop.
JUnit 관련 snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Before; | |
import org.junit.After; | |
import static org.junit.Assert.*; | |
import org.junit.Test; | |
public class JUnitTest { | |
@Before | |
public void setUp() throws Exception { | |
} | |
@After | |
public void tearDown() throws Exception { | |
} | |
@Test | |
public void testDoWork() { | |
// assert* 메소드로 조건 체크 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment