You Can't be Agile Without Automated Unit Testing

[magazine]
Volume-Issue: 

Automation is the  foundation that  gives the  power  to  get quick  feedback  from  running  tests.  It gives us  the  ability  to cover more  code and  know  we didn’t  break  anything.  And it gives us the independence to change our design when we need to without risk and to mold the software  the way we want it.

In the  end,  the  Agile Manifesto favors  working  software. Automated unit tests bring us close to that  point  quicker  than other processes.

Conclusion

The benefits of unit testing are closely aligned with the principles  of agile software  development. Unit  testing  allows you to make code changes while remaining  confident that  they will not  break  existing  functionality and  that  the  major  part of new  functionality will work  on  first delivery.  This  enables frequent, timely delivery of working software, which in turn enables swift response  to changes in requirements. Automated unit  testing  also  promotes  a transparent view into  the  code’s health by producing reports  that allow anyone to see which problems  occur and their precise locations  in the code. Further, automated unit testing reduces the number  of regression  bugs, preventing  development sprints  from  becoming  bogged  down and  enabling  developers  to  maintain a  constant,  sustainable work pace.

Together  with the agile methodology, an integrated, automated  unit  testing  tool  that  works  well within  your  programming environment is a crucial  necessity for managing  modern software  development.

User Comments

1 comment

About the author

Gil Zilberfeld's picture Gil Zilberfeld

Gil Zilberfeld has been in software since childhood, writing BASIC programs on his trusty Sinclair ZX81. With more than twenty years of developing commercial software, he has vast experience in software methodology and practices.

Gil is an agile consultant, applying agile principles over the last decade. From automated testing to exploratory testing, design practices to team collaboration, scrum to kanban, and lean startup methods – he’s done it all. He is still learning from his successes and failures.

 Gil speaks frequently in international conferences about unit testing, TDD, agile practices and communication. He is the author of "Everyday Unit Testing", blogs at http://www.gilzilberfeld.com and in his spare time he shoots zombies, for fun.

Upcoming Events

Mar 27
Apr 13
May 03
Jun 01