Created
July 28, 2016 22:03
-
-
Save jonpitch/fbfb8eb18c02f85843900da197ed8206 to your computer and use it in GitHub Desktop.
write better ember tests - be verbose
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
// bad - what part of login are we testing? | |
test('login', function(assert) { | |
// ... | |
}); | |
// good - i know exactly what this test is doing | |
test('user can successfully log in', function(assert) { | |
// ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment