F-Secure, Tammasaarenkatu 7, 00180 , Helsinki
I got to hear an early version of this talk and I believe others would appreciate it, so I scheduled it for your convenience. While title says unit testing, the stuff he talks on is great for anyone in touch with any level of test automation. After the talk, let's do a bit of discussion on our experiences and lessons on unit testing. We'll meet at F-Secure offices, welcome!
Unit Testing with ApprovalTests by Llewellyn Falco
When I look back at every time I have not written a unit test first. It was either because I didn’t really know how to do it effectively, or how to do it at all. Of course, this doesn’t mean it can’t be done, just that I hadn’t learned how to… yet. This session is about how I’ve learned to test many things I used to think were impossible. Usually in a just a few lines of code. Want to test that a GUI looks right? No problem. That the Html and CSS render correctly. Piece of cake. Is the noise reduction function making the audio sound better? I can do that. That database query from the ORM is working? Sure. Even if the database is down. Yep! This is going to be a compare and contrast type session. We will look at lot’s of examples of standard unit tests vs the same test using an ApprovalTesting framework like: TextTests, PealFish, Depicted (dpxdt) or ApprovalTests.
Learned Outcomes: * The 4 benefits of testing * Increasing Feedback * How to create custom asserts * How to test many 'untestable' things