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
167
votes
11 answers

Difference between acceptance test and functional test?

What is the real difference between acceptance tests and functional tests? What are the highlights or aims of each? Everywhere I read they are ambiguously similar.
JavaRocky
  • 19,203
  • 31
  • 89
  • 110
74
votes
5 answers

Unit Tests vs. Acceptance Tests

Are you for one or the other? Or both? My understanding is unit tests: validate the system from the developer's point of view help developers practice TDD keep code modular assist in detecting errors at low levels of granularity Acceptance…
Calvin
  • 825
  • 1
  • 8
  • 5
47
votes
7 answers

Are BDD tests acceptance tests?

Do you need something like Fitnesse, if you have BDD tests?
pondermatic
  • 6,453
  • 10
  • 48
  • 63
46
votes
7 answers

Does Python have anything Like Capybara/Cucumber?

Ruby has this great abstraction layer on top of Selenium called Capybara, which you can use do functional/acceptance/integration testing. It also has another library called Cucumber which takes this a step further and lets you actually write tests…
machineghost
  • 33,529
  • 30
  • 159
  • 234
40
votes
4 answers

What is a proper way of end-to-end (e2e) testing in Vue.js

Of cause I can use selenium-standalone with xpath to test an app. But testing SPA could be challenging sometime. But, for example angularjs's team provides protractor for this purpose. The reason behind protractor as I can see is that protractor…
S Panfilov
  • 16,641
  • 17
  • 74
  • 96
36
votes
4 answers

How do I add fitnesse pages to version-control?

What is the recommended practice? Should I add the my sub-folder under the fitnesse folder to version control? Context: working on a single developer rails pet project. I've my rails project under version-control (Subversion) however my fitnesse…
Gishu
  • 134,492
  • 47
  • 225
  • 308
30
votes
0 answers

Why does KIF UIView:dragFromPoint:toPoint not result in touchesEnded:withEvent being called on my view?

This question is about the iOS acceptance testing framework KIF. I have a test step which uses the KIF extension to UIView dragFromPoint:toPoint. I have a custom view class which implements touchesBegan/touchesMoved/touchesEnded/touchesCancelled.…
kennbrodhagen
  • 4,258
  • 2
  • 26
  • 21
28
votes
2 answers

When to choose system test over integration test Rails 5.1?

With the release of Rails 5.1, they included system tests. Which means we can test our JavaScript too in Rails. I see Rails guide explains a sample test creating article in both ways: via system test and via integration test. Now the question is:…
25
votes
1 answer

Integration vs acceptance test ... what is Cucumber / Steak?

For integration tests of my Rails web app I use Steak (something like Cucumber). The specs of Steak are in a folder named spec/acceptance. Are Steak/Cucumber now for integration or acceptance testing? I always thought that this is something…
medihack
  • 16,045
  • 21
  • 90
  • 134
24
votes
4 answers

Should BDD scenarios include actual test data, or just describe it?

We've come to a point where we've realised that there are two options for specifying test data when defining a typical CRUD scenario: Option 1: Describe the data to use, and let the implementation define the data Scenario: Create a region Given…
James Morcom
  • 1,749
  • 14
  • 17
24
votes
1 answer

Automated API testing of OAuth2/OpenID Connect protected API

I'm looking into a new project that we are planning on doing API first, so that we can then implement web- and native- apps on top of, plus allow for third party integration. All fairly standard so far. We also want to have a full suite of automated…
Graham
  • 4,095
  • 4
  • 29
  • 37
23
votes
3 answers

How/what to mock in BDD

I know one of Dan North's intentions in devising BDD was to move the vocabulary away from the complexity of the test domain. However, in implementing an outside-in approach, it seems we still require some understanding of mocked behavior (or…
Ryan Nelson
  • 4,466
  • 5
  • 29
  • 45
22
votes
7 answers

Using JUnit as an acceptance test framework

OK, so I work for a company who has openly adopted agile practices for development in recent years. Our unit tests and code quality are improving. One area we still are working on is to find what works best for us in the automated acceptance test…
Chris Knight
  • 24,333
  • 24
  • 88
  • 134
22
votes
4 answers

Specflow test step inheritance causes "Ambiguous step definitions"

I want to have the following test step class structure: [Binding] public class BaseStep { [Given(@"there is a customer")] public void GivenThereIsACustomer(Table table) { HandleCustomer(table); } protected virtual void…
wd113
  • 477
  • 1
  • 9
  • 18
21
votes
2 answers

CRM 2011 Online Plugin Uploader to support CI

I'm involved in developing a sandboxed Microsoft Dynamics CRM 2011 Online plugin and have a set of tests that I can drive from a xUnit front end on my local machine given that I right-click the Package and select the Deploy option (and resort to…
1
2 3
39 40