DrupalCon Barcelona 2015: Principles of Solitary Unit Testing
About this talk
This talk covers the principles of solitary unit testing, emphasizing its importance in selecting appropriate testing strategies that align with project goals. The speaker defines solitary unit testing and differentiates it from other testing approaches, using PHPUnit code examples to illustrate these concepts. A significant portion of the session is dedicated to exploring how to implement these principles, including the creation of mocks and fixtures, as well as identifying common test smells. The discussion concludes by outlining the motivations behind adopting solitary unit testing and clarifying its capabilities and limitations, making it ideal for those seeking clarity in their unit testing practices.