Skip to content

Instantly share code, notes, and snippets.

@jonpitch
Created July 28, 2016 22:03
Show Gist options
  • Save jonpitch/fbfb8eb18c02f85843900da197ed8206 to your computer and use it in GitHub Desktop.
Save jonpitch/fbfb8eb18c02f85843900da197ed8206 to your computer and use it in GitHub Desktop.
write better ember tests - be verbose
// 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