What Everybody Ought to Know About - Testing Methodology

To begin with , lets understand -

What is a Software Methodology?

A methodology is a package of methods. In simple words , it's a bundle of  practical ideas and proven practises which help in efficient software project management.

Software Test Methodology : The important Software Test Methodologies are discussed below...

Waterfall model 

 
Waterfall Model

What is it?

In the waterfall model ,software development progress through various phases like Requirements Analysis , Design etc -  sequentially.

In this model, next phase begins only when the earlier phase is completed.

What Is The Testing Approach?

The first phase in waterfall model is the requirements phase in which all the project requirements are completely defined before starting the testing. During this phase , the test team brainstorms the  scope of testing , test strategy and drafts a detailed test plan.

Only once the design of software is complete, the team will move on to execution of the test cases  to ensure that the developed software behaves as it expected.

In this methodology, the testing team proceeds to the next phase only when the previous phase is completed.

 

Advantages

This model is very simple to plan and manage. Hence, projects where requirements are clearly defined and stated beforehand can be easily tested using waterfall model. 

Disadvantages

In the waterfall model , you can begin with the next phase only once the previous phase is completed. Hence , this model cannot accommodate unplanned events and uncertainty.

This methodology is not suitable for projects where the requirements change frequently.

Iterative development 

 Iterative Test Model

What is it?

In this model , a big project is divided into small parts ,  and  each part is subjected to multiple iterations of the waterfall model. At the end of iteration, a new module is developed or an existing module is enhanced. This module is integrated into the software architecture and the entire system is tested all together 

What is the testing Approach?

As soon as iteration is completed, the entire system is subjected to testing. Feedback from testing is immediately available and is incorporated in next cycle. The testing time required in successive iteration can be reduced based on the experience gained from past iterations.

 

Advantages

The main advantage of iterative development is the test feedback is immediately available at the end of each cycle.

Disadvantages

This model increases communication overheads significantly since at the end of each cycle, feedback about deliverables , effort etc must be given.

 

Agile methodology

 Agile Development Model

What is it ?

Traditional  software development methodologies work on the premise that software requirements remain constant throughout the project. But with increase in complexity , the requirements undergo numerous changes and continuously evolve. At times, the customer himself is not sure what he wants. Though iterative model addresses this issue, it's still based on the waterfall model.

In Agile methodology   , software is developed in   incremental, rapid cycles. Interactions amongst customers, developers and client are emphasized rather than processes and tools. Agile methodology focuses on responding to change rather than extensive planning.

 

What Is The Testing Approach?

 Incremental testing is used in agile development methods and hence, every release of the project is tested thoroughly. This ensures that any bugs in the system are fixed before the next release.

 

Advantages

It is possible to make changes in the project at any time to comply with the requirements.

This incremental testing minimizes risks.

Disadvantages

Constant client interaction means added time pressure on all stake holders including the client themselves , software development and test teams .

Extreme programming

xtreme programming

What is it?

Extreme programming is a type of agile methodology which believes in short development cycles. A project is divided into simple engineering tasks. Programmers code a simple piece of software and get back to customer for feedback. Review points from the customer are incorporated and the developers proceed with the next task.

In extreme programming developers usually work in pairs.

Extreme Programming is used in places where customer requirements are constantly changing.

What Is The Testing Approach?

Extreme programming follows a Test-driven development which is described as follows -

  1. Add a test case to the test suite  to verify the new functionality which is yet to be developed
  2. Run all the tests and obviously the new test case added must fail since the functionality is not coded yet
  3. Write some code to implement the feature/functionality
  4. Run the test suite again .This time , the new test case should pass since the functionally has been coded

Advantages

Customers having a  vague software design in mind could use extreme programming

Continuous testing and continuous integration of small releases ensure software code is delivered is of high quality

Disadvantages

Meetings amongst the software development  team and  clients add to time requirements.

Which Software Methodology to choose  ?

There are tons of methodologies available for software development and its corresponding testing. Each methodology is designed for a specific purpose and has its relative merits and de-merits.

Selection of a particular methodologies depends on many factors such as the nature of project, client requirement, project schedule , etc.

From a testing perspective, some methodologies push for testing input early in the development life  cycle , while others wait until a working model of the system is ready.

How to setup software testing methodologies?

Software testing methodologies should not be setup just for the sake of testing software code. The big picture should be considered and the prime goal of the project should be satisfied by the testing methodology.

Scheduling

Realistic scheduling is the key to the implementation of successful testing methodology and the schedule should meet the needs of every member of the team.

Defined deliverables

In order to keep all the members of the team on the same page, well defined deliverables should be provided. The deliverables should contain direct content without any ambiguity.

Test approach

Once scheduling is complete and defined deliverables are made available, the testing team should be able to formulate the right test approach. Definition documents and developer meetings should indicate the team about the best test approach that can be used for the project.

Reporting

Transparent reporting is very difficult to achieve, but this step determines the effectiveness of the testing approach used in the project. 

comments powered by Disqus
Search

Follow Us!

Feedback

Your Feedback is very important to us. Please tell us what you think of these tutorials - http://goo.gl/aPc4K