ArticleslgStudy

computer science

Agile testing

Agile testing is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Agile testing rather than just read about it. In short: Agile testing is a software testing practice that follows the principles of agile software development. Agile testing involves all members of a cross-functional agile team, with special expertise contributed by testers, to ensure delivering the business value desired by the customer at frequent intervals, working at a sustainable pace.

Key takeaways

  • Agile testing belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Agile testing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Agile testing from memory before moving on to harder problems.

Reference excerpt

Agile testing is a software testing practice that follows the principles of agile software development. Agile testing involves all members of a cross-functional agile team, with special expertise contributed by testers, to ensure delivering the business value desired by the customer at frequent intervals, working at a sustainable pace. Specification by example is used to capture examples of desired and undesired behavior and guide coding.

Overview Agile development recognizes that testing is not a separate phase, but an integral part of software development, along with coding. Agile teams use a "whole-team" approach to "baking quality in" to the software product. Testers on agile teams lend their expertise in eliciting examples of desired behavior from customers, collaborating with the development team to turn those into executable specifications that guide coding. Testing and coding are done incrementally and interactively, building up each feature until it provides enough value to release to production. Agile testing covers all types of testing. The Agile Testing Quadrants provide a helpful taxonomy to help teams identify and plan the testing needed. The model of the Agile Testing Quadrants was originally described by Brian Marick, and was popularized by Lisa Crispin and Janet Gregory in their book Agile Testing: A Practical Guide for Testers and Agile Teams. It places different test types on two axes: Technology Facing vs Business Facing, and Support Programming vs Critique Product. Traditional testing methodologies (often employed in the Waterfall model of software development) usually involve a two-team, two-phase process in which the development team builds the product to as near perfection as possible. The software product is delivered late in the software development life cycle at which point the test team strives to find as many bugs/errors as possible. In contrast with these traditional methodologies, Agile testing focuses on repairing faults immediately, rather than waiting for the end of the project. When testing occurs at the tail end of a project, it can sometimes be sacrificed in terms of duration and quality to meet critical schedules and budget restrictions. Costs are expected to go down as the time between development and testing feedback decreases. With shorter feedback loops, bugs fixes and reworks require less time as developers spend much less time reengaging the code's context as they move on to new problems and projects. In the "Worldwide Software Testing Practices Report 2015 - 2016", ISTQB found that the popularity of Agile methodologies are significantly increasing, which shows the need for Agile testing processes and techniques. They are providing an Agile Tester extension to their certification.

Tools As companies grow, agile testing teams often rely on software testing tools to solve challenges that can ultimately speed-up the release of feedback making sure. Most teams look for collaboration features, automated or customized reporting and finding ways to avoid repeated efforts. Choosing the right tool will depend on the requirements of each team. Pairing up with other Agile Lifecycle Development Tools, Agile testing tools can deliver effective results by coexisting in integrated environments. Such is the case for Atlassian Marketplace and Microsoft Visual Studio. Some test management tools support Agile testing by getting teams involved earlier in the SDLC to continuously build test scenarios as stories evolve. Teams often look for a solution that can deliver a combination of automated and manual testing. Some well-recognized tools used in Agile testing include:

Selenium WebDriver — an open-source tool for automating web browser interactions. JUnit — a Java unit testing framework that supports test automation and integration with continuous integration systems. TestNG — a Java testing framework supporting unit, functional, and integration testing, with features like parallel execution and flexible configuration. Cucumber — a framework for Behavior-Driven Development (BDD), enabling test scenarios in plain language (Gherkin) for collaboration between technical and non-technical stakeholders. Serenity BDD — a framework that integrates with Selenium and Cucumber to simplify acceptance tests and provide detailed documentation and test reports.

Further reading Janet Gregory; Lisa Crispin (2009). Agile Testing: A Practical Guide for Testers and Agile Teams. Addison-Wesley. ISBN 978-0-321-53446-0. Gojko Adzic (2011). Specification by Example: How Successful Teams Deliver the Right Software. Manning. ISBN 978-1-61729-008-4. Kev Martin (2016). The Agile Tester 2: Software testing in the agile world. CreateSpace. ISBN 978-1539646228. Scott Ambler (2010). "Agile Testing and Quality Strategies: Discipline over Rhetoric". Retrieved 2010-07-15. Alexander Tarlinder (2017). Developer Testing: Building Quality into Software. Addison-Wesley. ISBN 9780134291086.

References

Pettichord, Bret (2002-11-11). "Agile Testing What is it? Can it work?" (PDF). Archived from the original (PDF) on 2010-07-08. Retrieved 2011-01-10. Hendrickson, Elisabeth (2008-08-11). "Agile Testing, Nine Principles and Six Concrete Practices for Testing on Agile Teams" (PDF). Archived from the original (PDF) on 2011-06-14. Retrieved 2011-04-26. Huston, Tom (2013-11-15). "What Is Agile Testing?". Retrieved 2013-11-23. Crispin, Lisa (2003-03-21). "XP Testing Without XP: Taking Advantage of Agile Testing Practices". Retrieved 2009-06-11.

Worked examples

Example 1 — a first encounter with Agile testing

Start with the simplest possible case. Write down what Agile testing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Agile testing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Agile testing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Agile testing

In research
Agile testing appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Agile testing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Agile testing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Agile software development, Software testing, so understanding it makes those chapters shorter.
In everyday life
Look for Agile testing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Agile testing” →

How to study Agile testing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Agile testing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Agile testing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Agile testing in simple terms?

Agile testing is a software testing practice that follows the principles of agile software development. Agile testing involves all members of a cross-functional agile team, with special expertise contributed by testers, to ensure delivering the business value desired by the customer at frequent int…

Why does Agile testing matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Agile testing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Agile testing.

Tags

  • Agile software development
  • Software testing

Keep exploring