- Desired talk duration: 30 minutes
The examples on the internet shows us just how easy it is to do automated
testing. Yeah, but that is for the easy stuff. My cases are not as
easy as the ones in the examples. My cases are so exceptional, and
therefore untestable!
Or are they? I will try to convince you that you often can do automated
testing, even though we often try to tell ourselves that we cant, so
that we can do "real" programming instead.
I argue for the reasons to do automated testing, on all parts of your system, not just the easy ones.
Testing limits our design choices (leaving only the good ones). I will show how different problems can be overcome by changing the design. And finally a last resort.
This talk is inspired by a previous talk about unit testing JavaScript
(which people often regard as unnecessary and impossible) I've held a few times and received very good feedback.
Automated testing is a well discussed topic, but we still have
a lot to learn from each other. I often get the question "How would I possibly test this?", so hence this talk.
Examples of my slides: https://speakerdeck.com/u/jede
Video of me holding a semi improvised 1 minute pitch (unfortunately in
Swedish) for a service (sammanfatta.se) we built during a 24h hackathon: http://bambuser.com/v/2738767#t=2640s