Skip to content

Instantly share code, notes, and snippets.

@HeartSaVioR
Last active December 17, 2015 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save HeartSaVioR/5693701 to your computer and use it in GitHub Desktop.
Save HeartSaVioR/5693701 to your computer and use it in GitHub Desktop.
JUnit 관련 snippet
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