Talk in English - US at PHPKonf Istanbul PHP Conference 2018
Track Name:
Peak Games
View Slides: https://www.slideshare.net/MarkBakerUK/testing-the-untestable-97855948
Short URL: https://joind.in/talk/0c28a
(QR-Code (opens in new window))
When we need to write unit tests for an existing codebase - particularly for older legacy code, or even for badly designed modern code - we sometimes come upon classes and methods that simply cannot be tested, or where the effort to write tests far exceeds the effort than it probably took to write the code in the first place. In this presentation we'll examine some of the "code smells" that make it difficult to write tests - and look at why they cause problems - before looking at the options available to make them testable.
Comments
Comments are closed.
One of the great overviews about testing "hard to test code".