facn2 / Week2-Ba6e5-Developers-TodoList

ToDoList
https://facn2.github.io/Week2-Ba6e5-Developers-TodoList/
2 stars 1 forks source link

Test descriptions #48

Open emilyb7 opened 7 years ago

emilyb7 commented 7 years ago

Hi team : )

Your tests would be cooler if you were very explicit about what you're testing.

E.g. for your marktodo tests... (218)

Hope that makes some sense??

mattlub commented 7 years ago

Then use the 3rd argument to t.deepEqual(...) to describe what should happen in each individual test

^^ I was just about to leave an issue for exactly this.