{"id":384,"date":"2015-04-07T11:16:01","date_gmt":"2015-04-07T11:16:01","guid":{"rendered":"http:\/\/www.gallop.net\/blog\/?p=384"},"modified":"2020-01-27T12:27:39","modified_gmt":"2020-01-27T06:57:39","slug":"atdd-agile-acceptance-test-driven-development-2","status":"publish","type":"post","link":"https:\/\/www.cigniti.com\/blog\/atdd-agile-acceptance-test-driven-development-2\/","title":{"rendered":"Test Drive the Agile Acceptance Test Driven Development (ATDD)"},"content":{"rendered":"

An offshoot of Test Driven Development<\/a>, ATDD puts emphasis on the customer by making acceptance test cases the foundation of development. In this methodology, acceptance test cases are created even before coding starts. These test cases then become the reference for development and failing these test cases at any stage implies requirements have not been meant. Thus, this methodology affords instant feedback on whether development is attuned to customer aspirations.<\/p>\n

Stages of ATDD<\/h2>\n
    \n
  1. User Story:<\/strong> ATDD typically begins with a user story which encapsulates what the user expects to see at the end of development. Discussions between stakeholders sees the user story being extrapolated into actions or tasks the system needs to perform to satisfactorily meet the user objectives.<\/li>\n
  2. Acceptance tests criteria:<\/strong> The output from the above step becomes the input for deriving the acceptance test criteria. Starting from an initial list, these test cases are extended to take into account all scenarios that may come into play in real time and how the system should respond in each scenario.<\/li>\n
  3. Test case automation:<\/strong> The next step is to automate the acceptance test cases. The test cases are turned into an executable format that can be loaded to a testing tool. Tools like Fitnesse, Cucumber and Concordion are popularly used for automation in ATDD.<\/li>\n
  4. Implementation:<\/strong> Acceptance test criteria becomes the basis for development. Development generally happens in a piecemeal fashion wherein the TDD model may be used to code, test and refactor until a test case is passed. At the end of several small iterations, we have the new functionality up and running.<\/li>\n<\/ol>\n

    The above is, of course, the ideal chain of activities but in real time, coding and test case automation may often go hand in hand.<\/p>\n

    Benefits of Acceptance Test Driven Development:<\/h3>\n
      \n
    1. More focus on customer needs: <\/strong>As the user acceptance test criteria is taken as the basis for development, the customer objectives remain in focus throughout development. Developers can visualise the end result holistically which leads to better coding and unit testing. ATDD forces the developer to think from a customer perspective and focus on end user needs at all stages of development.<\/li>\n
    2. Better collaboration between stakeholders:<\/strong> Collaboration starts right from the point where the user story is written down and continues till the developed code meets the acceptance criteria. Product Owners, Business Analysts, testers and developers work together throughout development. The user story and acceptance criteria give all members of the team a clear picture of what needs to be achieved and ensure better adherence to requirements.<\/li>\n
    3. Faster resolution of issues:<\/strong> Unlike regular development cycles, in ATDD acceptance testing is not an isolated activity performed prior to roll out. It is an integral part of development and is performed multiple times to check whether the new code conforms to expectations. This helps in early identification and resolution of issues.<\/li>\n
    4. Easier to manage:<\/strong> ATDD development occurs in several small iterations which means the team needed for such projects is small. Smaller teams are easy to build, are often experienced and have the right skills required for the job. Managing resources and infrastructure is also easy compared to large development teams, not to mention the fact that smaller teams often tend to have better rapport and be more collaborative than large teams.<\/li>\n<\/ol>\n

      Agile testing from Gallop<\/strong><\/p>\n

      At Gallop, we understand your need to deliver good quality software in a time-challenged environment. And that is why we bring to our clients the advantage of colocated agile test services. Contact us to know more about our agile test practices<\/a> and how we can help you fine tune your agile projects.<\/p>\n","protected":false},"excerpt":{"rendered":"

      An offshoot of Test Driven Development, ATDD puts emphasis on the customer by making acceptance test cases the foundation of development. In this methodology, acceptance test cases are created even before coding starts. These test cases then become the reference for development and failing these test cases at any stage implies requirements have not been […]<\/p>\n","protected":false},"author":2,"featured_media":12936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,731],"tags":[763,765,782,789,841,842,843,1135,1218,1413,1604],"ppma_author":[3736],"authors":[{"term_id":3736,"user_id":2,"is_guest":0,"slug":"admin","display_name":"Cigniti Technologies","avatar_url":{"url":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png","url2x":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png"},"user_url":"http:\/\/www.cigniti.com\/","last_name":"Technologies","first_name":"Cigniti","job_title":"","description":"Cigniti is the world\u2019s leading AI & IP-led Digital Assurance and Digital Engineering services company with offices in India, the USA, Canada, the UK, the UAE, Australia, South Africa, the Czech Republic, and Singapore. We help companies accelerate their digital transformation journey across various stages of digital adoption and help them achieve market leadership."}],"_links":{"self":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/384"}],"collection":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":0,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media\/12936"}],"wp:attachment":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/tags?post=384"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}