The Blog

How To Do A Software Test Plan For Waterfall, Agile and DevOps

Posted by Phil Edwards on 13/03/2018
Find me on:

Within every organisation there are a number of documents that have a hieratical order. When it comes to testing you would expect to find the Test Policy document at the top of the tree; this document is only a couple of pages long but does at executive level spell out the quality needs of the organisation and gives the vision of what is expected of every project. This document is owned by the CIO or IT Director and should be mandated to ensure every programme and project works to the same expected standards every time.

software test plan.jpg

The next document down is the overarching Test Strategy; this document details the processes, methodologies and tooling to be used, it principally sets the cornerstones and building blocks to give a guidance to all testing practices. The Test Strategy is a reflection of the Test Policy and should be used as a guide on all programmes and projects.

It’s worth noting that whether your organisation decides on a Waterfall, Agile or DevOps approach, the Test Strategy is still required as it sets out the rules and approach for testing. Now it would be sensible, if developing in an Agile or DevOps fashion, that you put as much detail into the Test Strategy so that your project level Test Plan need only refer back to the Strategy document thus making the production of the Test Plan very easy and more fitting for an Agile/DevOps Project.

It is worth noting that Agile/DevOps doesn’t mean no documentation. Documentation is valuable and sets out the principals of testing and explains the approach i.e. what needs to be tested and how.

When a programme or project is initiated a Software Test Plan will be required, the ISTQB definition is that a Test Plan is a document describing the scope, approach, resources and schedule of intended test activities. It identifies amongst others test items, the features to be tested, the testing tasks, who will do each task, degree of tester independence, the test environment, the test design techniques and entry and exit criteria to be used, and the rationale for their choice, and any risks requiring contingency planning. It is a record of the test planning process.

With best intentions all projects, including Waterfall, Agile and DevOps projects, can change direction or shape at any point. Budgetary and time constraints, may alter your test approach and how much testing you need to do, therefore plans need to change in accordance with that. Be prepared for the Test Plan to be a working document and update it when necessary but don’t lose the fundamentals of what the desired outcome needs to be. Always remember to get sign-off when making changes.

It is however, vital that you have a good template throughout, so that you always start right and have the required sections in the template to allow you to be thorough and use the latest version of the document thus giving you the best opportunity to cover of all the details required for that Testing Phase. Starting with the right Test Plan template will give you the best opportunity to have a complete and thorough document every time.

Lower level details like the Test Case and Test Scripts sit outside the Test Plan and would ideally detail the inputs, execution conditions, testing procedure, and expected results of the test to be executed, in which the results would verify compliance with a specific requirement.

If you have a set of good Test Scripts, then you may want to automate them to save time and money. When working in an Agile or DevOps method, there can be a tendency to push through the latest development too quickly and without performing due diligence, focus, and attention to detail which will result in making avoidable mistakes and thus consequently will require even more time to complete the task satisfactorily.

Automation is a great way to reduce time and ensure consistent quality, but be careful as so many organisations get it wrong and spend unnecessary time and money in getting this right. Creating a robust framework is the first step in creating good automation. Automation greatly increases the speed of the testing process and shortens the testing lifecycle. Automation never sleeps, so you can run scripts at any time of the day or night, along with running Automation around a range of machines and platforms at the same time. Obviously, Automation test scripts run faster than executing them manually.

Ultimately the Software Test Plan describes how you should test, whether you decide to manually test or automate or a combination of both, getting the Test Plan right and with enough detail is the key to success. Not only will it provide the guidance to the test team, but provide the relevant stakeholders with assurances that the overall organisational goals detailed in the Test Policy are being adhered to and core principals are followed.

DevOps: Five ways you can improve software quality

Topics: Software Testing, Software Test Plan

nFocus Blog

Welcome to the nFocus software testing blog. As thought leaders and technical innovators, we created this blog to distil our thoughts, ideas and musings on improving software quality.

Fill out the form below to receive future communications from nFocus including our latest:

  • Blog articles
  • White Papers
  • and plenty more!

Follow us

Follow us on LinkedIn to see our latest content!

Recent Posts

Posts by Topic

see all