lecture: Can we write perfect tests? - Maybe!

The pros of a solid unit test suite are well understood and accepted in the ruby community. The problem: How to define solid? Traditional metrics like line-coverage, branch-coverage and even statement-coverage can be misleading. Having a statement executed once does not mean all edge cases are specified and bug-free! Automated tools can be used to identify uncovered edge cases that will introduce bugs into your program. Mutation testing brings fuzzing to the implementation level. Unlike input fuzzing it modifies the implementation to check if the test suite can detect a huge set of automatically introduced behaviour changes. This talk will elaborate the history of testing and the metrics that are used to define coverage. And how such metrics can and have misguided development direction. It will also show examples of projects that heavily adopted mutation testing. Especially the long term effects and how the (mutation)-metrics driven approach improved developer happiness and code stability. Showing what kind of actual bugs where caught and how code became naturally streamlined. Lastly the current and future limits of existing mutation testing tools will be presented.
Info
Day:
2013-08-24
Start time:
11:15
Duration:
00:30
Room:
HS6
Track:
RedFrogConf
Language:
en
Feedback
Click here to let us know how you liked this event.
Concurrent events
- HS1/2
- Persona: a federated and privacy-protecting login system for the whole Web
- HS5
- ArangoDB
- HS4
- Samba4
- HS3
- SmartSarah
- C118/PHP
- Fixing legacy code
- C117/Java
- Praktischer Einstieg in die Android-Entwicklung
- C120/Django
- Django -- Eine Einführung
- HS6
- Can we write perfect tests? - Maybe!
- C175/FrogLabs 1
- Einführung in die Programmierung mit Python
- C116/Lisp
- The world as S-expressions
Speakers
![]() |
Markus Schirp |