The Wayback Machine - https://web.archive.org/web/20240907104930/https://www.geeksforgeeks.org/acceptance-test-driven-development-atdd-in-software-engineering/
Open In App

Acceptance Test Driven development (ATDD) in Software Engineering

Last Updated : 21 Jan, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Prerequisite –Agile Software Development 

Acceptance Test-Driven Development(ATDD) :

  • ATDD (Acceptance Test Driven Development) is a development technique that gives emphasis on the end users/customers by making acceptance test cases the foundation of development. This means it focuses on providing the actual required functionality/behavior of the system. In this methodology acceptance test is written from the user’s perspective and test cases are created even before coding starts.
  • ATDD is extended on TDD (Test Driven Development) which gives emphasis on developers, testers, and business collaboration and it is a test-first approach. Also, ATDD is very much similar to the BDD (Behavior Driven Development) but there is a small difference between them i.e. BDD mainly focuses on the behavior of the system while ATDD focuses on the actual requirements of the customer.
  • Some tools which are used for ATDD are TestNG, Spectacular, FitNesse, EasyB, Concordian, Thucydides, etc.

ATDD Cycle : 

There are four stages in ATDD (Acceptance Test Driven Development) cycle which comprises Discuss, Distill, Develop, and Demo stages. Let’s discuss one by one.

  1. Discuss –
    User Story (What the customer need from the product at the end of development)
  2. Distill –
    Acceptance tests criteria and Automation (Taking consider into different scenarios and system’s behavior during various scenarios)
  3. Develop –
    Implementation (Develop the feature by following Test First Development TFD approach until it’s success/pass)
  4. Demo –
    Prototype model (Provide a demo to the business stakeholders and proceeds with iterations)

The need for Acceptance Test-Driven Development :

  • To avoid ambiguity in requirements.
  • To develop the product smoothly.
  • To avoid last-minute changes/modifications.
  • To deliver a good quality product.

Key practices in ATDD :

  1. Analyze and discuss the real-world scenarios
  2. Decide acceptance criteria for various scenarios
  3. Automate the acceptance test cases
  4. Focus on development based on requirements.

Benefits of ATDD :

  • Gives a better clarification on the requirements.
  • Faster resolution of problems/issues.
  • Improves collaboration between cross-team members.
  • More focus on customer needs.
  • Acts as a guideline for the entire development process.
  • Easier to manage.


Similar Reads

Difference between Acceptance Criteria and Acceptance Tests
1. Acceptance Criteria : This aims to consider the problem from a customer’s point of view so therefore it must be written in the context of how a user actually experiences any particular application. It is about defining the user stories by considering all the predefined requirements of the customer. They decide that what are the user requirements
3 min read
Difference between Data Driven Testing and Keyword Driven Testing
1. Data-Driven Testing :Data-driven testing or DDT is also named Parameterized testing. DDT is a process of testing software that is used to test the computer Software by applying some conditions like verified inputs. For testing the software various methods are used and every methodology differs from the other for maintaining accuracy. DDT focuses
4 min read
Advantages and disadvantages of Test Driven Development (TDD)
Test Driven Development(TDD) : Test-Driven Development (TDD) is additionally called test-driven design. TDD may be a method of software development during which ASCII text file is tested over and once again (unit testing). Test-driven development may be a balanced approach for the programming perfectly blended with tightly interwoven three activiti
4 min read
What is Test Driven Development (TDD)?
Test Driven Development (TDD) is a software development methodology that emphasizes writing tests before writing the actual code. It ensures that code is always tested and functional, reducing bugs and improving code quality. In TDD, developers write small, focused tests that define the desired functionality, then write the minimum code necessary t
7 min read
Acceptance Testing - Software Testing
Acceptance Testing is an important aspect of Software Testing, which guarantees that software aligns with user needs and business requirements. The major aim of this test is to evaluate the compliance of the system with the business requirements and assess whether it is acceptable for delivery or not. Here we are discussing the major points related
5 min read
Overview of Plan Driven Development (PDD)
Different types of software products/services are being developed everyday. IT/Software companies are adopting different development procedures for the development of good quality software product within less time and less budget. There are number of approaches for software development. One of them is Plan Driven Development in short PDD. In this a
3 min read
What is Behavior-Driven Development (BDD)?
Behavior-driven development (BDD) is an agile software development methodology that prioritizes collaboration among developers, testers, and non-technical stakeholders to ensure customer-centric outcomes. In BDD, requirements are defined in terms of desired behaviors and user stories, enabling clearer communication and a focus on delivering busines
10 min read
Difference between Test Scenario and Test Condition in Software Engineering
1. Test Scenario: A test Scenario refers to all possible ways of testing a software application. Each probable way or method tests any part of the application like all possible functionalities, attributes, features, and aspects of the software. Some examples of Test scenarios are – Check if Admin is able to add the phone number of the customer or n
3 min read
Introduction to Software Engineering - Software Engineering
Software is a program or set of programs containing instructions that provide the desired functionality. Engineering is the process of designing and building something that serves a particular purpose and finds a cost-effective solution to problems. Table of Content What is Software Engineering?Key Principles of Software EngineeringMain Attributes
9 min read
Identifying Software Development Metrics - Software Engineering
Companies invest a fair proportion of their resources in the expensive staff that drive the development of technology on which an organization runs. It is therefore imperative to explore and quantitatively measure the performance of such investments by empowering teams with the ability to track their efficiency. This task is delegated to a designat
4 min read
Software Business and Development - Software Engineering
Software Business means selling software for the business or sometimes it is referred to as selling information about various software made for business purposes that are so-called business software. This article focuses on discussing Software Business and Development in detail. What is a Software Business? Software business is one of the commercia
3 min read
Agile Software Development - Software Engineering
Agile Software Development is a software development methodology that values flexibility, collaboration, and customer satisfaction. It is based on the Agile Manifesto, a set of principles for software development that prioritize individuals and interactions, working software, customer collaboration, and responding to change. Agile Software Developm
13 min read
Difference between Generic Software Development and Custom Software Development
Software development can be broadly categorized into two approaches: Generic Software Development and Custom Software Development. These methodologies cater to different market needs and user requirements. These approaches differ significantly in terms of their target audience, level of customization, and adaptability to specific business processes
3 min read
Difference between Low Code Software Development and Traditional Software Development
In this article, we will explore the differences between low code software development and traditional software development. Before diving into the differences, let's first understand what each approach entails. What is Low-Code Software Development?Low-code development involves creating software applications with minimal hand-coding. Instead of wr
6 min read
Difference between Acceptance Testing and Sandwich Testing
1. Acceptance Testing : Acceptance Testing is done after the system testing. It is done to check whether the software meets the customer requirements or not. It is used by testers, stakeholders as well as clients. It includes only a Functional Testing and it consist of two testing Alpha Testing and Beta Testing. 2. Sandwich Testing : Sandwich Testi
2 min read
Operational Acceptance Testing (OAT)
Operational Acceptance Testing (OAT) is a type of software testing that is performed to conduct operational pre-release of a software, system or application to check the quality of it. Operational Acceptance Testing is a very usual software testing whose type is non-functional and it is mainly used in software development and software maintenance p
3 min read
Difference between System Integration Testing (SIT) and User Acceptance Testing (UAT)
System Integration Testing (SIT) and User Acceptance Testing (UAT) have different purposes in the software testing process. System Integration Testing (SIT) ensures that different modules or systems work together correctly, focusing on the interactions between them. User Acceptance Testing (UAT) checks if the software meets user needs and business
5 min read
Difference between System Testing and Acceptance Testing
In the realm of software testing, System Testing and Acceptance Testing play crucial roles in ensuring the quality and functionality of a product before it reaches the end-user. While both are essential phases in the software testing lifecycle, they serve different purposes and are executed at different stages of the development process. Understand
3 min read
What is Code Driven Testing in Software Testing?
Prerequisite - TDD (Test Driven Testing) Code Driven Testing is a software development approach in which it uses testing frameworks that allows the execution of unit tests to determine whether various sections of the code are acting accordingly as expected under various conditions. That is, in Code Driven Testing test cases are developed to specify
2 min read
Data Driven Testing in Software Testing
Prerequisite: Software Testing Data-Driven Testing is a type of software testing methodology or more exactly approach to the architecture of automated tests by creating test scripts and reading data from data files.  In this type, the data files involved are Data pools, CSV files, Excel files, ADO objects, ODBC sources, etc. The testing functions c
4 min read
Reverse Engineering - Software Engineering
Software Reverse Engineering is a process of recovering the design, requirement specifications, and functions of a product from an analysis of its code. It builds a program database and generates information from this. This article focuses on discussing reverse engineering in detail. What is Reverse Engineering?Reverse engineering can extract desig
6 min read
Difference between Software Engineering process and Conventional Engineering Process
Software Engineering Process and Conventional Engineering Process, both are processes related to computers and development. In this article, we will see the similarities as well as differences between both, that is Software Engineering Process and the Conventional Engineering Process. Table of Content Software Engineering ProcessConventional Engine
4 min read
Re-engineering - Software Engineering
Software Re-engineering is a process of software development that is done to improve the maintainability of a software system. Re-engineering is the examination and alteration of a system to reconstitute it in a new form. This process encompasses a combination of sub-processes like reverse engineering, forward engineering, reconstructing, etc.  Tab
8 min read
Difference between Software Engineering and Computer Engineering
Software engineering and Computer engineering are two distinct disciplines that focus on different aspects of computer systems. While both fields require a strong foundation in computer science and mathematics, software engineering is focused on software development processes, while computer engineering is focused on the physical components and sys
6 min read
Evolution of Software Engineering: From an Art To Engineering Discipline
Software Engineering is a systematic and cost-effective technique for software development. It is an engineering approach to developing software. For example: If someone wants to travel from Punjab to Delhi. There are two approaches one can follow to achieve the same result: The normal approach is to go out and catch the bus/train that is available
13 min read
Requirements Engineering Process in Software Engineering
Requirements Engineering is the process of identifying, eliciting, analyzing, specifying, validating, and managing the needs and expectations of stakeholders for a software system. Table of Content What is Requirements Engineering?Requirements Engineering ProcessTools Involved in Requirement EngineeringAdvantages of Requirements Engineering Process
13 min read
Jackson System Development (JSD) - Software Engineering
Jackson System Development (JSD) is a method of system development that covers the software life cycle either directly or by providing a framework into which more specialized techniques can fit. This article focuses on discussing JSD in detail. What is Jackson System Development (JSD)?Jackson system development is a linear system development approa
4 min read
Program Development Life Cycle (PDLC) - Software Engineering
The Program Development Life Cycle (PDLC) is a process used in software engineering to manage the development of software programs. The PDLC is similar to the Software Development Life Cycle (SDLC) but is applied at a higher level, to manage the development of multiple software programs or projects. This article focuses on discussing PDLC in detail
6 min read
Development Testing in Software Engineering
Prerequisite - Types of Software Testing Development Testing - It is a method of applying testing practices consistently throughout the software development life cycle process. This testing ensures the detection of bugs or errors at the right time which further ensures delay of any kind of risk in terms of time and cost. Development Testing aims to
5 min read
Agile Development Models - Software Engineering
In earlier days, the Iterative Waterfall Model was very popular for completing a project. But nowadays, developers face various problems while using it to develop software. The main difficulties included handling customer change requests during project development and the high cost and time required to incorporate these changes. To overcome these d
11 min read
Article Tags :