We want tests to be consistent from one repo to the next; one for readability and two to make it possible for lab to do "deep testing". Deep testing will allow the current module to test itself as well as all of the dependencies.
- Only create lab aliases for values the test actually uses. In other words, don't have
before
andafter
variables if the test never uses them. - Describing method tests should appear like this; "methodName()" and not "#methodName"
- Any non-functional test should appear at the top of the test outside of any
describe
bocks. - Tests should no longer have an outer
describe
block. See 3 above.
The full conversation can be found here.