Texas Sharpshooters and Test-Driven Development (TDD)
The Texas Sharpshooter fallacy describes a bias where patterns are forced to fit preconceived beliefs. TDD increases the likelihood that tests reflect intended behavior rather than confirming flawed code, thus avoiding the “sharpshooting” of writing tests to suit existing, potentially faulty implementations.
Tags: testdrivendevelopment, softwareengineering, softwaretesting