View YouShouldBeTestingYourAndroidAppCode2.kt
@Test | |
fun testParseDateX() { | |
val date = givenDateInFormatX() | |
val result = whenParsed(date) | |
thenDateIsInFormatY(result) | |
} |
View YouShouldBeTestingYourAndroidAppCode1.kt
@Test | |
fun testGivenDateInFormatX_WhenParsed_ShouldBeInFormatY() { | |
val date = dateInFormatX | |
val parserInTest = CustomDateParser() | |
val expectedDate = parserInTest.parse(date) | |
assertThat(expectedDate).isInFormatY() | |
} |
View .gitconfig
[user] | |
name = <User Here> | |
email = <Email Here> | |
[credential] | |
helper = osxkeychain | |
[color] | |
ui = auto | |
grep = auto | |
interactive = auto | |
[color "branch"] |