Adopt Test-driven development in your agile team

1 min


649
649 points
Test-driven development
Test-driven development

Test-driven development (TDD) approach

The problem in many of the development teams is that testing as a whole is done in a such ambiguous way just to be able to say it was done. Same story applies for Test-driven development (TDD), people pretend doing TDD but they don’t.

At some point I was part of a scrum team where we did try to implement TDD but there was a big gap between the developers and the QA,the mistake that we made was something that I wrote about in a previous article here :

All team member should write tests

In my belief people should look very serious in adopting TDD rhythm:

Test > Write code > Refactor

Your process should look something like this :

Test-driven development
Test-driven development
Share testing roles

Make sure testing role is not just a final stage before the code goes live and when it happens everyone feels a big relief , share the role in the team , adopt pair programming in writing tests between developers and testers.

Use team conventions

I feel on the team convention is more to discuss about so I will cover more details in a  next article but till then make sure you guys are on the same page in regards of :

  • Selector usage
  • Test structure
  • Page structure
Make prototypes

I know , we as humans being , have the ability of the mind to be creative or resourceful and our imagination can go above the sky , but without prototypes you would miss important things to consider before taking the task into your sprint.

  • Using HTML/JavaScript
  • Design images
  • Design mockups
Tests drive page structure

Don’t rush to create your page structure before you don’t have your tests . Allowing your tests to drive the page structure might change the game completely.

In the next article I will talk about team convention in a TDD environment.

Happy testing!


Like it? Share with your friends!

649
649 points

What's Your Reaction?

cute cute
0
cute
scary scary
0
scary
wtf wtf
0
wtf
geek geek
0
geek
WIN WIN
0
WIN
Love Love
0
Love
OMG OMG
0
OMG
Angry Angry
0
Angry
Lol Lol
0
Lol
Test engineer

0 Comments

Your email address will not be published. Required fields are marked *

Choose A Format
Trivia quiz
Story