Closed sean-ww closed 7 years ago
Hi @sean-ww thanks for the suggestion! We'll see what we can organise 👍
Hi @sean-ww we've decided to try out a new thing next event where we will have a group discussion instead of a second talk. I think we will get some good input from the community :)
OK, that should be good thanks.
I'll still keep a look out for someone who could give a talk on the topic as well.
So, I thought we could post links here related to some of the bits and pieces we talked about, and people can weigh in with stuff and/or ask questions in the comments.
To start with, someone mentioned the practise of having tons of unit tests because they're cheap and fast, and fewer e2e tests because they have a higher cost. I've heard this talked about as part of the "testing pyramid" (predictably Martin Fowler has a good article on it) and also found this post interesting about the "cupcake" shape that is unfortunately more familiar to lots of teams.
Also some links to JS testing libs/frameworks we mentioned:
Also I spotted this one a while ago which looks really awesome https://github.com/avajs/ava
It would great to see some examples of real world unit tests, and to understand where they have been useful. (I'm an absolute beginner at writing unit tests, so it would be great if someone all powerful could share their wisdom and present this)