Red Green Repeat Adventures of a Spec Driven Junkie

Journey to TDD - Days to Replicate Minutes

If you found this article and want to start at the beginning, this series starts here.

By replicating stakeholder actions using Selenium, I started to turn the legacy application into an application I own.

More than anything, having an automated script that would perform the actions stakeholders would do to validate system correctness gave me confidence moving forward with any development.

From the feeling of dread when there’s an error, now I am confident whenever there’s a change and I run the automated script.

I ran my script manually each time - essentially this script is an automated smoke test.

I may have spent days learning Selenium and writing out the script to replicate a single action that only takes minutes to perform.

What’s the value add of a single test??