
Junit5의 기본적인 메소드들을 학습하는데, assertIterableEquals과 assertLinesMatch의 차이점이 궁금하였다. 먼저 Junit5 공식 문서를 통해 assertIterableEquals과 assertLinesMatch은 다음과 같음을 확인할 수 있었다. (1) assertIterableEquals() assertIterableEquals(Iterable expected, Iterable actual) Asserts that expected and actual iterables are deeply equal. 두 객체 Iterable(Iterable 인터페이스를 구현한 클래스)가 deeply equal한지 (내용 비교) 비교하는 것이다. 이때 두 iterable은 같은 순서로 동..

1. 목표 버그로부터 안전한 코드를 위해 널리 사용되는 실용적인 테크닉인 testing에 대해서 다뤄보고자 한다. testing의 가치를 이해하고 test-first programming에 대해서 알아볼 것이다. input과 output space에 따라 메소드를 구획화 하여 test suite를 디자인할것이다. code coverage를 측정하여 test suite를 평가하고 언제 blackbox testing과 whitebox testing을 사용해야 하는지, unit test와 integration test, automated regression testing을 사용해야 하는지 알아 볼 것이다. * Test suite란 ? 개별 테스트 케이스들을 하나로 묶은 것이다. 2. 소프트웨어 테스팅이 어려운..
- Total
- Today
- Yesterday