April 12, 2017

Let's Change the Static Quo

5 reasons why you need static testing?

Static Testing is constantly overlooked in projects due to the fact that it adds extra costs before development is even started. However, the cost of not using static testing during your development cycle can be much higher.

Here are 5 reasons why you should start using static testing.

1. Improves documentation

When conducting initial reviews of documents prior to starting development e.g. Requirements Document, it is very important to have a member of the test team present in the review meeting. At first this may seem like an impractical or costly choice for your business, however in the long run you will see the benefit.

A major issue during the initial stages of the development lifecycle is that the requirements are defined poorly or the designs of the system are flawed in some way. The problems that will occur due to these issues will exponentially increase the project time and cost.

Having a document review process which involves a member of every discipline throughout the project results in visibility of the project from the outset for all parties. During this review process the requirements and design of the system can be discussed and examined to ensure that there are no contradictions, duplications or missing requirements.

2. Encourages enhanced coding practices

Employing a good coding practice ensure that any code written is ‘clean’ code, which allows for greater readability. By ensuring readability of code allows for static testing to be conducted in a concise manner and ensure that any number of issue can be found, such as undeclared variables; ‘dead’ code or component and module issues.

Using automated tools to validate written code to try and detect these issues before any environment breaking code is committed.


3. Increases collaboration amongst all disciplines

Early and continued engagement of all disciplines improves team cohesion and early buy in. This ensures ownership is shared by the team improving communication throughout the project.

4. Works for multiple Methodologies

Static testing is usually employed in more traditional methods of software testing such as waterfall. So how can a world which is moving towards Agile implement this without hindering the nature of the methodology?

Since the documentation within an Agile environment is sparse and ever changing it is difficult to employ document reviews on them. This means that the static testing should be conducted on the code using tools. By conducting unit testing during the development stage in Agile, developers can help to detect many more errors in code before it is before it becomes a costly bug in the system.

5. Time and Cost effective

The main reason any organisation employs a methodology for a project is to reduce time and costs. The reason that many companies fail to adopt static testing is that there is additional cost added to the project from the offset. However, time and again projects go over time and budget due to poor planning which could have been avoided with a little extra initial investment.


Static testing minimises the risk involved in a project from the very beginning, allowing for safer outlay, superior product and increased profits, which results in happier stakeholders.


By Suniel Rakhra - Test Analyst, Edge Testing