Overview
Explore advanced techniques for improving automated tests in this conference talk from GOTO Chicago 2015. Delve into the challenges developers face when writing tests and discover practical solutions to enhance test readability, effectiveness, and maintainability. Learn how to craft meaningful test names, utilize subject annotations, implement mock assertions, and leverage data-driven testing approaches. Examine strategies for creating colorblind tests, managing ignored tests, and incorporating Spock and Groovy for more expressive test writing. Gain insights on fostering a testing culture that encourages developers to write better, more comprehensive tests as an integral part of the software development process.
Syllabus
Introduction
Quiz Show
Why we dont write tests
How can we change behaviour
Testing solutions
Easier to read
Test names
Subject annotation
Mock assertions
Datadriven testing
Colorblind tests
Ignore tests
Spock
Groovy
Writing readable tests
Writing meaningful tests
Conclusion
Taught by
GOTO Conferences