We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Testing with No Harm

Formale Metadaten

Titel
Testing with No Harm
Serientitel
Anzahl der Teile
133
Autor
Lizenz
CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
If you’re a programmer, chances are you’ve heard about “Test-induced design damage”. This catchy phrase, coined by Ruby on Rails author David Heinemeier Hansson, implies that the dogmatic practice of Test-driven development can harm the structure of the software it’s meant to protect. Besides its sensationalism, that statement served to take a step back and reason about the practice of writing automated tests. What compromises do we make to gain the confidence of a well-covered code base? Do automated tests inhibit good design? In this session we’ll explore those questions by looking at how writing automated tests affects our design choices. We’ll look at approaches like BDD and Specification by Example and how they use tests as a way to lead the design to fit its purpose. We’ll also look at balancing unit tests with integration and end-to-end tests in order to decouple our tests from the internal structure of the system. All to achieve the honorable goal of writing tests with no harm done.