Don't start writing JavaScript code with unit tests! And let's find out why... :)
#OdessaJS, Lightning talk at OdessaJS 2014
For English speakers:
8 — describe("puddle", ... contains water
9 — describe("puddle", ... it's a small hollow
10 — when jumping in
11 — it makes splashes
12 — feet can become wet
13 — the same phrases (just on 1 slide)
GIFs and movies:
1) Code on manual QA: http://tinyurl.com/odessajs-puddle
2) Cat and Jenga: http://i.imgur.com/T6SbtaS.gif
3) Groundhog day - E2E: http://tinyurl.com/odessajs-groundhog
4) E2E bookmarklet video —http://vimeo.com/noomorph/odessajs-e2e-mocha-example
26. M O C H A B O O K M A R K L E T
https://github.com/noomorph/mocha-‐bookmarklet
• loads
Mocha/Chai
scripts
• creates
output
container
for
the
results
• prompts
for
your
spec
URL
or
raw
code
to
paste
and
run