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

Succeeding with TDD: Pragmatic Techniques for effective mocking

Formale Metadaten

Titel
Succeeding with TDD: Pragmatic Techniques for effective mocking
Serientitel
Anzahl der Teile
150
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
Test Driven Development is easy, if your code has no dependencies that is. The reality of our world is mired with dependencies, however. All the idealistic approaches to unit testing soon fall flat when the tests meet the realities. Mocking can be an effective way to alleviate these concerns, at least that is what we have been told. However, mocks often tend to burden our tests and make them hard to maintain. Seems like we are in a quagmire. In this presentation we will learn some simple techniques that can help us be quite effective with mocking. We will start a couple of problems that have dependencies. We will then take up the task of creating automated unit tests for it. Along the way, using testing and mocking tools, we will learn some effective ways to deal with the dependencies and create maintainable automated tests.