Agile Testing

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Agile Testing

A software testing practice that follows the principles of agile software


development is called Agile Testing. Agile is an iterative development
methodology, where requirements evolve through collaboration between the
customer and self-organizing teams and agile aligns development with customer
needs.

Unlike the WaterFall method, Agile Testing can begin at the start of the project with
continuous integration between development and testing. Agile Testing is not sequential
(in the sense it's executed only after coding phase) but continuous.

Agile team works as a single team towards a common objective of achieving Quality.
Agile Testing has shorter time frames called iterations (say from 1 to 4 weeks). This
methodology is also called release, or delivery driven approach since it gives a better
prediction on the workable products in short duration of time

Principles of Agile Testing


 Testing is NOT a Phase: Agile team tests continuously and continuous testing
is the only way to ensure continuous progress.
 Testing Moves the project Forward: When following conventional methods,
testing is considered as quality gate but agile testing provide feedback on an
ongoing basis and the product meets the business demands.
 Everyone Tests: In conventional SDLC, only test team tests while in agile
including developers and BA's test the application.
 Shortening Feedback Response Time: In conventional SDLC, only during the
acceptance testing, the Business team will get to know the product
development, while in agile for each and every iteration, they are involved and
continuous feedback shortens the feedback response time and cost involved in
fixing is also less.
 Clean Code: Raised defects are fixed within the same iteration and thereby
keeping the code clean.
 Reduce Test Documentation: Instead of very lengthy documentation, agile
testers use reusable checklist, focus on the essence of the test rather than the
incidental details.
 Test Driven: In conventional methods, testing is performed after
implementation while in agile testing, testing is done while implementation.

Test Plan for Agile


Unlike waterfall model, in an agile model, test plan is written and updated for every
release.  The agile test plan includes types of testing done in that iteration like test data
requirements, infrastructure, test environments and test results. Typical test plans  in agile
includes

1) Testing Scope

2) New functionalities which are being tested

3) Level or Types of testing based on the features complexity

4) Load and Performance Testing

5) Infrastructure Consideration

6 )Mitigation or Risks Plan

7) Resourcing

8) Deliverables and Milestones

Agile Testing Strategies


Agile testing life cycle spans through four stages
(a) Iteration 0

During first stage or iteration 0, you perform initial setup tasks. It includes identifying
people for testing, installing testing tools, scheduling resources (usability testing lab), etc.
The following steps are set to achieve in Iteration 0

a) Establishing a business case for the project

b) Establish the boundary conditions and the project scope

c) Outline the key requirements and use cases that will drive the design trade-offs

d) Outline one or more candidate architectures

e) Identifying the risk

f) Cost estimation and prepare a preliminary project

(b) Construction Iterations

The second phase of testing is Construction Iterations, the majority of the testing occurs
during this phase. This phase is observed as a set of iterations to build an increment of the
solution.  In order to do that, within each iteration, the team implements a hybrid of
practices from XP, Scrum, Agile modeling, and agile data and so on.
In construction iteration, agile team follows the prioritized requirement practice: With
each iteration they take the most essential requirements remaining from the work item
stack and implement them.

Construction iteration is classified into two, confirmatory testing and investigative


testing.  Confirmatory testing concentrates on verifying that the system fulfills the intent
of the stakeholders as described to the team to date, and is performed by the team.  While
the investigative testing detects the problem that confirmatory team have skipped or
ignored.  In Investigative testing, tester determines the potential problems in the form of
defect stories. Investigative testing deals with common issues like integration testing,
load/stress testing and security testing. 

Again for, confirmatory testing there are two aspects developer testing and agile


acceptance testing. Both of them are automated to enable continuous regression testing
throughout the lifecycle.  Confirmatory testing is the agile equivalent of testing to the
specification. 

Agile acceptance testing is a combination of traditional functional testing and traditional


acceptance testing as the development team, and stakeholders are doing it together. 
While developer testing is a mix of traditional unit testing and traditional service
integration testing.  Developer testing verifies both the application code and the database
schema.

(c) Release End Game Or Transition Phase

The goal of “Release, End Game” is to deploy your system successfully into production. 
The activities include in this phase are training of end users, support people and
operational people.  Also, it includes marketing of the product release, back-up &
restoration, finalization of system and user documentation.

The final testing stage includes full system testing and acceptance testing.   In accordance
to finish your final testing stage without any obstacles, you should have to test the
product more rigorously while it is in construction iterations. During the end game,
testers will be working on its defect stories.

(d) Production

After release stage, the product will move to the production stage.
Advantages of Agile Testing
 Agile Testing Saves Time and Money
 Less Documentation
 Regular feedback from the end user
 Daily meetings can help to determine the issues well in advance

You might also like