Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
fixture |
|
|
annotation to check for an exception |
@Test(expected= IndexOutOfBoundsException.class) |
|
assertArrayEquals() method |
|
|
The assertEquals() method |
|
|
assertThat() method |
|
|
Chanining Matcher |
assertThat(123, not( is(345) ) ); |
|
Core matchers |
|
|
Logical matchers (Hamcrest) |
|
|
2 key goals of jUnit |
|
|
tests must be leveraged |
must be written so new tests can use the original tests |
|
Fluent Builder Test Pattern |
|
|
Database Test Pattern |
|
|
A fake |
|
|
A mock |
is an object that we can setup with hard-coded responses to various method calls. |
|
order tests run |
random |