Return to site

SCRUM: If You are Not Doing Test First Then You are Doing it Wrong! by Martin Hinshelwood

February 6, 2024

Many teams struggle to deliver modern software because they are not building with Test ๐Ÿงช First Principles.

 

โ˜๏ธ You are doing it wrong if you are not using the test first

You will hear a lot of different terms bandied about in relation to test first:

๐Ÿ›ž Test-Driven Development (TDD)

๐Ÿค— Acceptance Test-Driven Development (ATDD)

๐ŸŽฌ Behaviour Driven Development (BDD)

Find that which solves your specific problem and adapt until you have something that works for you, your team, and your organization.

 

 

The essence of test first

Test First has two main goals, which are as important as each other.

โœ… The first is about professionally validating that which you have built.

โžฐ The second goal is to shorten your feedback loops.

Fundamentally it is far cheaper to fix an issue closest to its source.

The three virtues of Test First:

1๏ธโƒฃ Validation of building what was asked for

2๏ธโƒฃ Validation that what we have built works as we intended

3๏ธโƒฃ Validation that changes have not broken the original intent

 

 

๐Ÿ‘จโ€๐Ÿ’ผ Business Validation โ€“ We have built what was asked for

We need to have the tests created first (the measure) and then Code to make the tests pass.

Now we can take that time and use it to create even more value for our customers.

 

 

๐Ÿ‘จโ€๐Ÿ’ป Developer Validation โ€“ What we have built works as we intended

There are two main value-adds here.

๐Ÿ‘Œ The first is that when a coder creates functionality it does exactly what he intended and we have a record, and executable specification, of what that intent was.

The second comes later.

๐Ÿ”จ When we go to add functionality later we know when we have broken existing functionality, which is one of this endeavor's most valuable parts.

#scrum #tdd #test

full article๐Ÿ‘‰ https://www.scrum.org/resources/blog/if-you-are-not-doing-test-first-then-you-are-doing-it-wrong

Udemy๐Ÿ‘‰ https://www.udemy.com/course/professional-scrum-developer-certification-prep-200-question/?referralCode=49CBC321F20A7E381F7C