November/December 2006 Feature Article


Test Strategy

Test strategy must help meet test policy objectives

The test strategy is a set of high-level approaches for testing in a company or a large division of a company.  The test strategy is a means to achieve certain testing goals. A company’s testing policy will direct the testing strategy towards the broader testing goals of the company.

Test Policy Statement Related Strategy Statement(s)
Testing will start as early as possible in the System Development Life Cycle (SDLC) A Test Manager or Consultant will be required to sign off project feasibility studies.
The testing department must review high-level business requirements before system design activities may proceed.
New business requirements must sent to the testing department within two business days of completion.
Test automation practices will be promoted Twenty five percent of the testers must attend training in test automation principles in the first quarter.

Detailed manual procedures will be required for those regression tests that support our automation goals.

One day a week will be set apart for test automation research and development activities.

Automation teams must calculate Return on Investment (ROI) measures on all automation projects.

Table 1: Example Relationships between Test Policy and Test Strategy Statements

Test strategy must help meet test policy objectives

The test strategy is a set of high-level approaches for testing in a company or a large division of a company.  The test strategy is a means to achieve certain testing goals. A company’s testing policy will direct the testing strategy towards the broader testing goals of the company.

Test strategy serves to communicate testing interests in the company

The test strategy can be at the level of a single test, a single project, or for all projects within a company. Thinking of one or more generic approaches to testing in the different development and test phases can save the cost and effort of planning specific approaches to project test plans or phase test plans multiple times. The strategy also communicates the broad interests of the company with respect to how testing should be conducted in each of the development or test phases.

Test strategy must reduce risk, increase opportunity, and keep business costs down

The current trend is to involve the test strategy with identifying project and product risks, and then apply suitable testing to mitigate each of these risks. This thinking is good, but it does not go far enough! Test strategy must consider value-based testing practices, as these will align better with business thinking. Risk would still be a factor, but now consideration of business opportunity and the cost of testing in addition to risk will foster better strategic thinking and fresh approaches to testing. Testing should be integrative and holistically considered within the company, and test strategies should accommodate this.

Test strategy should support company imperatives

It is often required that time, cost, or quality is optimised on projects; and specific test strategies are then selected depending on the current needs of the project. Quality itself is a collection of attributes that may include reduced defects, shorter time to market, faster response times, higher security, better ease of use, ease of maintenance, and other desirable attributes. Test strategy documents, at their best, should inform staff of ways to optimise and balance trade-offs for achieving these goals from a testing perspective.
A minimum test strategy

People, process, and context

A company’s staffing approach for testing is a key variable of strategy. Depending on the nature of testing decided upon, test staff would have to be highly skilled where sophisticated test techniques and automation were selected or less skilled where basic testing techniques and a predominantly manual testing approach were followed.

Test strategy should adjust to accommodate for shifts in the market, and also to allow for testing improvements as experience accrues. A well-defined collection of test processes will be easier to adjust than processes which were not standardised and documented as part of a testing strategy.

Business and other contexts of testing such as available skills, budgets, tools, and technology platforms will all influence test strategy and are the reason why test strategy must be tailored to each company situation as well as to keep it current.

Testing is a team effort where stakeholders include professional testers and other roles. Testing strategy must include developers, system analysts, database administrators, operations personnel, business analysts, product managers, and others for an optimised testing solution or approach at company level.

Technical points for strategic consideration for each development and testing phase

Test strategy overlaps with test planning

Test strategy overlaps with test planning in as much as the test planning approach carries out the relevant test strategy in detail. The test planning confirms and sharpens elements from the test strategy such as which specific test techniques to use, test completion measures, and other overlaps.

Generic test approach

A table used in the test planning approach is useful - once the approach demonstrably conforms to company strategy it is suitable for re-use in future test plans (see table 2).

Phase and Item Low Risk Projects Medium Risk Projects High Risk Projects

High Level Requirements

                Inspections

Mandatory (>=2%)

Mandatory (>=5%)

Mandatory (>=5%) or all high risk requirements, whichever is the greater

                Walkthroughs

Optional

Mandatory (All high risk)

Mandatory (all medium and high risks)

                Test Plan

Mandatory

Mandatory with review

Mandatory with review

                Incident management

Mandatory

Mandatory with high risk defects having root cause analysis

Mandatory with medium and high risk defects having root cause analysis and process improvement action reports

                Etc

Etc

Etc

Etc

Detailed System Requirements

                Inspections

Mandatory (>=3%)

Mandatory (>=7.5%)

Mandatory (>=7.5%) or all high risk requirements, whichever is the greater

                Test Plan

Mandatory

Mandatory with review

Mandatory with review

                Non-functional checklist

Optional review

Mandatory review

Mandatory review – must include customer and experts from non-functional areas

                Boundary value analysis

Mandatory

Mandatory

Mandatory

                Etc

Etc

Etc

Etc

Architectural Design

                Technical review

Mandatory (medium and high risk)

Mandatory (medium and high risk)

Mandatory (100%)

                Interface specification templates

Mandatory

Mandatory with review

Mandatory with review

                Role Plays

Optional

Recommended

Mandatory

                Performance prototypes

Mandatory (top 20%)

Mandatory (top 30%)

Mandatory (top 40%)

                Etc

Etc

Etc

Etc

Etc

Table 2: Generic Testing Approach for Low, Medium, and High Risk Projects

Benefits of a company testing strategy

The benefits of a company testing strategy include:

Strategy next steps

If your company does not have an existing testing strategy, begin motivating for one.

Wayne Mallinson
info@testfocus.co.za

Reproduction & Copyright

The reproduction, adaptation or broadcast, without permission, of any articles or photographs published in this publication, is forbidden and copyright
is expressly reserved for Test and Data Services (Pty) Ltd.

Opinions

Opinions expressed by contributors are their own and do not necessarily express the opinions of the Publisher, Editor or members of the Editorial Panel.