Skip to content

Instantly share code, notes, and snippets.

@jonpitch
Created July 28, 2016 22:04
Show Gist options
  • Save jonpitch/7d9727910838af52bfafdfa2a8533587 to your computer and use it in GitHub Desktop.
Save jonpitch/7d9727910838af52bfafdfa2a8533587 to your computer and use it in GitHub Desktop.
write better ember tests - be verbose
test('this is a dummy test', function(assert) {
const a = true;
const b = true;
// a developer can quickly scan these messages to understand what
// needs to happen and why.
assert.ok(a, 'A is true when X');
assert.equal(a, b, 'A and B are equal when X');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment