Agile Methodology Best Practices

While the process framework behind Scrum and Agile in general gets you thinking about how you organise the work and the facilitate the team, it’s only half the story. A lot has been said about Agile methodology Best Practices but I want to offer my own thoughts.

For software development teams there are some engineering practices that can help the team code well within the people and organisational processes that agile implement. The aim of these engineering practices is to allow the development team to create the best software product possible. These are enabling approaches that allow us to focus on the most important aspect of software development not engineering practices but building the right software.

The idea is to define and agree a basic way of working that allows us to focus on writing great software that satisfies the business. By using some good engineering practices we remove the waste in a developer’s day and allow them to get on with coding.

What follows is a mixture of engineering practice and working practices that I’ve had some success with.

Control your code

    • It’s just good practice to use revision control however you decide to run the project. We like subversion.

TDD/BDD

    • Test Driven Development or Behaviour Driven Development. Write your tests first and then write your code to fulfil those tests. This way you don’t end up with no time to test and it means you’re doing the design up front in small chunks. People often wonder where the Architecture is in Agile, well if you do TDD the way it was meant to be done then when you write your tests you’re actually designing how the code should behave. Effectively the TDD cycle of test-code-refactor is an inspect and adapt design process, that a developer goes through in cycles lasting minutes.

War room

    • Your team and their interactions are the single the most important factor in the success or failure of a project. If you can get all your team in one room and make it their war room it will help the team to be cohesive and develop a sense of shared values and team practices or behaviours.

Continuous Integration and Automated Testing

    • Automate both unit testing and acceptance or functional testing. Ad hoc testing is a bad idea by automating the building and testing in the code control system you ensure that the software builds at every check-in this is continuous integration. Developers will feel more comfortable changing existing code and refactoring, no one forgets to run the tests, you spot errors early and development becomes more flexible. For a test framework in Rails apps there is Rake, Zentest and Test::Unit for Ruby, and for JUnit for Java. For acceptance testing there is Selenium and Fitnesse. Cruise control for Ant enforces continuous integration in Java.

Quiet time

  • When you’re in the zone and cranking out quality code like it was going out of fashion, the last thing you need is an interruption. Once you’ve been rudely awakened it can take ages to get back into the right frame of mind for problem solving. Agree a quiet time with no phones and email or devise a physical signalling system like a busy flag so people know not to interrupt.

 

These key areas will give you some idea of what to apply as part of Agile methodology best practices. I hope that you have some success with these areas as much as I have had. Let me know in the comments.

About the Author

Rohit

Rohit Sharma is a blogger on SoftwareTestingBooks.com and working as a Quality Assurance in a reputed company from last 3 Years. He likes to share his thoughts and knowledge via blog in the field of Software Testing.
Find out more about @rohitgupta