Questions tagged [acceptance-testing]

Acceptance testing is a test conducted to determine if the requirements of a specification or contract are met

Acceptance testing is a term used in agile software development methodologies, particularly Extreme Programming, referring to the functional testing of a user story by the software development team during the implementation phase.

The customer specifies scenarios to test when a user story has been correctly implemented. A story can have one or many acceptance tests, whatever it takes to ensure the functionality works. Acceptance tests are black box system tests. Each acceptance test represents some expected result from the system. Customers are responsible for verifying the correctness of the acceptance tests and reviewing test scores to decide which failed tests are of highest priority. Acceptance tests are also used as regression tests prior to a production release. A user story is not considered complete until it has passed its acceptance tests. This means that new acceptance tests must be created for each iteration or the development team will report zero progress.

Source

591 questions
7
votes
2 answers

How do you capture requirements with declarative acceptance tests?

Background I am trying to help my team organize for a new mobile app project. We have chosen to follow BDD (see also BDD definition) in order to capture plain English requirements that form a contract between stakeholders and developers for each…
Brenden
  • 7,708
  • 11
  • 61
  • 75
7
votes
2 answers

Cannot get Codeception to fill form fields

I'm trying to carry out a simple acceptance test for learning purpose. It's a simple authentication scenario : user enters /admin, If not logged it, He gets redirected to /login to fill the form. When i run the test i get this error : 1) Couldn't…
Rafael Adel
  • 7,673
  • 25
  • 77
  • 118
7
votes
2 answers

Codeception - Acceptance tests work but Functional test don't

I am running the latest version of Codeception on a WAMP platform - My acceptance is very basic however works fine (see below): $I = new WebGuy($scenario); $I->wantTo('Log in to the…
7
votes
6 answers

Easy acceptance testing with specification

I look for a tool/framework to make automatic acceptance-testing. The interface to create new tests should be so easy, that a non-programmer (customer, boss) will be able to add specifications for which will be tested automatically. It should be…
Mnementh
  • 50,487
  • 48
  • 148
  • 202
7
votes
2 answers

How to increase reusability between SpecFlow/Gherkin steps?

I think I thoroughly understand the concepts and ideas behind SpecFlow, but even after reading the Secret Ninja Cucumber Scrolls, The Cucumber Book, and going through the various forums I'm still unsure about the path to reusability. Our scenarios…
Dennis Doomen
  • 8,368
  • 1
  • 32
  • 44
6
votes
7 answers

Automated Acceptance Testing For iOS and Android Devices

I'm working on a web project where it has become clear that having some Selenium-type automated acceptance tests would be very helpful. But the project is a web site for mobile/handheld devices, not desktop browsers like what Selenium…
Trott
  • 66,479
  • 23
  • 173
  • 212
6
votes
2 answers

End-to-end testing a RESTful Web service (Rails)

I'm trying to sift through the myriad of test solutions out there, and I'm not even sure if I'm headed the right direction. The story is: we're running a RESTful Web service, implemented as a Rails app, which backs our mobile clients. We're unit…
mxk
  • 43,056
  • 28
  • 105
  • 132
6
votes
1 answer

TeamCity: Managing deployment dependencies for acceptance tests?

I'm trying to configure a set of build configurations in TeamCity 6 and am trying to model a specific requirement in the cleanest possible manner way enabled by TeamCity. I have a set of acceptance tests (around 4-8 suites of tests grouped by the…
Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249
6
votes
1 answer

Ember.js: Component attribute not reset while testing

I am currently attempting an acceptance test on a nested route, which makes use of the same component twice, but with different arguments. This works fine when I run it normally, however as I run the acceptance test, I notice that the component's…
finferflu
  • 1,368
  • 2
  • 11
  • 28
6
votes
1 answer

How can I delete seed data in SpecFlow

This may have already been brought up, a stupid question perhaps. Anyway, I have been looking into SpecFlow and wondering how I can delete my seed data for the feature. This seed data are shared across different scenarios. Is there an elegant way…
Leo
  • 63
  • 1
  • 4
6
votes
2 answers

Codeception: [RuntimeException] Call to undefined method AcceptanceTester::wait

I'm making my first acceptance test with Codeception. When I run my test with wait() or waitForElement(), I get this message: [RuntimeException] Call to undefined method AcceptanceTester::wait Here is my acceptance.yml # Codeception Test Suite…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
6
votes
3 answers

Acceptance Tests for Tetris when using Test Driven Development

I want to try to implement the Tetris Game using TDD. From what I've come to understand when reading Growing Object-Oriented Software, Guided by Tests, I should start by defining what would be my Acceptance tests. If I am right, Acceptance tests…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
6
votes
1 answer

acceptance testing with selenium and codeception, browser shows blank page

I'm using codeception with Yii2 and my configuration is as follows: class_name: AcceptanceTester modules: enabled: - WebDriver: url: 'http://ucms.ac.ir/admin/index-test.php/' browser: chrome -…
Hesam Khaki
  • 183
  • 1
  • 10
6
votes
3 answers

How do I merge Valgrind memcheck reports from multiple runs of the same process?

I've got an set of acceptance tests that run nightly. I'd like to use valgrind to check for memory leaks in my code automatically as an additional safe-guard to manually checking for leaks. Updating my scripts to run my processes under valgrind is…
Glen
  • 21,816
  • 3
  • 61
  • 76
6
votes
3 answers

What are the benefits of automating acceptance testing?

Recently I read some articles about some doubts about benefits of acceptance testing, because it is quite costly compared to what it brings. To form my own opinion, I would like to gather as much benefits of automated acceptance testing as possible.…
Gabriel Ščerbák
  • 18,240
  • 8
  • 37
  • 52