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
3
votes
1 answer

How to create test data for automating acceptance test?

I'm working on a legacy banking web application which uses oracle database with lots of stored procedures. I have to write automated acceptance test suite for this application. Most of the acceptance tests requires a customer information to be…
tintin
  • 5,676
  • 15
  • 68
  • 97
3
votes
1 answer

Acceptance criteria (and other things) for a BDD story

We have a workflow engine that presents a list of available workflows (I mean workflow definitions, not instances) and user can click on the "Execute" link next to any workflow to ,well, execute a new instance of that workflow. I want to do this…
Ashkan Kh. Nazary
  • 21,844
  • 13
  • 44
  • 68
3
votes
1 answer

Testing JSON API that uses Devise token authenticable module with Cucumber

I am writing acceptance tests for a RESTfull JSON service. I want to be able to run the tests against production server. This API is used by the iphone client. For authentication the JSON service uses the Devise authentication token module. Here is…
Matteo Melani
  • 2,706
  • 2
  • 24
  • 30
3
votes
4 answers

Using cucumber to check page titles

Feature Scenario: As a user that has not signed in I want to be able to sign up for provisioner Given I am not logged in When I go to the home page And click on the "Sign Up" button Then I should be on the page with…
BrianJakovich
  • 1,604
  • 1
  • 13
  • 23
3
votes
1 answer

acceptance testing Java OpenGL applications

I have a Java desktop application that has a major component of it written using Java OpenGL (JOGL). When it comes to writing automated acceptance tests for this, I'm not really sure how to write them without being very brittle. With Swing (and…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
3
votes
1 answer

Acceptance testing of Sql or Reports

I am responsible for the development and maintenance of a project containing several hundred Sql Reports (SSRS). I would really like to add acceptance testing. Is there best practices for Report Acceptance tests?? We are currently using several…
Dan Black
  • 1,167
  • 3
  • 14
  • 20
3
votes
1 answer

Puppeteer: How to get parentNode without using evaluate?

With Puppeteer, I know how to use evaluate for having some properties like parentNode or previousSibling: let id = await page.evaluate(() => { let wantedHref = $('li a').filter( function (index) { return…
3
votes
1 answer

Acceptance tests for REST API - Shoud I deal with all cases?

Our team is doing ATDD(Acceptance Test Driven Development) for our projects. And I have a question. I write API tests like below. 1) creating fixtures 2) sending headers, query, path, body to endpoint. 3) assert response of status code, body,…
3
votes
3 answers

How to mock couchbase for acceptance testing without embedded server or a new cluster just for that?

I'm doing acceptance testing for a microservice that connects to couchbase, elasticsearch and Kafka. I don't want to use any embedded instance or any test cluster. I want to be able to mock the couchbase calls, but at the same should test the N1QL…
varshavp27
  • 167
  • 1
  • 1
  • 14
3
votes
1 answer

Using jQuery in Capybara tests

I'd like to ask your opinion about using jQuery in Capybara specs. Is it really simulating the real user interaction, or is it faking it? Is using find("#my_checkbox[value='1']").set(true) the same as…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
3
votes
0 answers

How to do UAT on our containerized Spring-batch application

We have a Spring-batch (3.0.8) application using db2 for data persistence. We have built Docker image of the application and are trying to figure out how to test it using Jenkins pipeline. We launch the application using CommandLineJobRunner in a…
JamesD
  • 679
  • 10
  • 36
3
votes
1 answer

Codeception can't click on element it has seen just before

Hello dear people of Stackoverflow, currently I am writing acceptance tests with Codeception using Selenium as WebDriver module. In my test to check if our sub-navigation exists, is complete and works I struggle with the following piece of…
TheKvist
  • 583
  • 5
  • 16
3
votes
4 answers

Using dependency injection in SpecFlow step-file

We're using Unity as our dependency injection framework. I want to create an acceptance test and need an instance of DossierService. Unfortunately I get the following exception: BoDi.ObjectContainerException: 'Interface cannot be resolved…
xeraphim
  • 4,375
  • 9
  • 54
  • 102
3
votes
1 answer

JGiven show acceptance test running line by line

Is it possible to use JGiven (with or without Spring support) to retrieve the statements before / during execution? For example, if we had a fairly typical login acceptance test i.e. public class LoginFeatureTest extends…
bobmarksie
  • 3,282
  • 1
  • 41
  • 54
3
votes
1 answer

ember-simple-auth, acceptance tests and waiting for async actions

Struggling with acceptance tests. Started with basic login test: import { test } from 'qunit'; import moduleForAcceptance from 'static/tests/helpers/module-for-acceptance'; moduleForAcceptance('Acceptance | authentication'); test('login',…