
실습 환경 준비
[참조] Conditional Complexity Refactoring
Eclipse 주요 단축키
<요약> Mock이란?
1. JUnit
1.1 JUnit 개요
Unit Test Framework 중 하나
- “De Facto Standard of Unit-testing Framework”
- 다양한 mocking framework 지원, 다양한 오픈소스에서 활용
JUnit 4 특징
- Annotation 기반 유연한 활용
- Fixture 메서스 : @BeforeClass, @AfterClass, @Before, @After
- 예외 관련 테스트 : @Test(expected=…Exception.class)