8 Comments
User's avatar
Maris Orbidans's avatar

The solution is not to use TDD. It is ok to write tests without doing TDD.

Valentina Jemuović's avatar

Could you further elaborate on what you see as the pros & cons of TDD vs TLD?

Jelena Cupac's avatar

I agree, the biggest challenge in TDD is applying it to code in real life.

Valentina Jemuović's avatar

Yes, many developers might understand TDD with katas, but not know how to apply in real life projects. That's why we need to practice on sandbox projects first.

Darlisson Limeira's avatar

Sandbox projects? What is this?

Valentina Jemuović's avatar

A Sandbox Project is an imitation of a Real Life Project. Sandbox Project is useful for practicing new technical skills. I wrote an article about setup instructions for the Sandbox Project https://journal.optivem.com/p/legacy-code-sandbox-project (it's part of my premium series TDD in Legacy Code https://journal.optivem.com/p/tdd-in-legacy-code-transformation)

Darlisson Limeira's avatar

Thank you!

Valentina Jemuović's avatar

You're welcome! Looking forward to our learning journey!