<AssertJ의 javadoc_REF 기초REF>
import static org.assertj.core.api.Assertions.assertThat
.isEqualTo
.contains
.startWith
.endsWith
등 기존 junit assertTrue보다 유연하게 사용가능.
JUnit JavaDoc
JavaDoc : Assert class
@Parameters - 음 javadoc에서 잘 안보이네요.
@Test
@Parameters({
"10000, 8, 32",
"100000, 12, 128",
})
public void realUsage(int numSerials, int numDigits, int hashKeySize)
@DataPoints + @Theory
@DataPoints public static String[] dataPoints = new String[] { ... }; @DataPoints public static String[] generatedDataPoints() { return new String[] { ... }; } @Theory public void theoryMethod(String param) { ... }