Created
January 12, 2015 13:46
-
-
Save fomkin/88e20bd75e132d2e3f51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object ProgrammersBehaviorTestSuite extends TestSuite { // "Success" | |
val tests = TestSuite { | |
"When weather is fine it should" - { // "Success" | |
"go for a walk" - { assert(false) } // "Failure" | |
"go to ride a bike" - { assert(false) } // "Failure" | |
"drink tea on a terrace" - { assert(true) } // "Success" | |
} | |
} | |
} | |
/** | |
Now it looks like this: | |
ProgrammersBehaviorTestSuite - Success | |
When weather is fine it should - Success | |
go for a walk - Failure | |
go to ride a bike - Failure | |
drink tea on a terrace - Success | |
Want it to look like this: | |
ProgrammersBehaviorTestSuite | |
When weather is fine it should | |
[x] go for a walk | |
[x] go to ride a bike | |
[v] drink tea on a terrace | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment