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
2
votes
2 answers

Using Nightwatch for demo - slow down assertions by config

my team and me are using Nightwatch to write end-to-end-acceptance tests for a microservice oriented architecture with a total of five systems. After putting in some work to set it up and wiring together our services with docker-compose, it works…
jpietzsch
  • 536
  • 5
  • 18
2
votes
2 answers

Nesting ember acceptance test helpers in "andThen"

I've always written ember tests like this: test('should add new post', function(assert) { visit('/posts/new'); fillIn('input.title', 'My new post'); click('button.submit'); andThen(() => { assert.equal(find('ul.posts li:first').text(),…
Matt McGinnis
  • 101
  • 1
  • 4
2
votes
0 answers

Simple Swift iOS UI Test with UIAlertController

I have tried writing UITests in Xcode 8 using Swift 3 for a really simple todo app. The app displays a UIALertView with a text field and two buttons (Cancel and Add). Here is my attempt at a UITest: func testExample() { print("Tests Started") …
Mark Tyers
  • 2,961
  • 4
  • 29
  • 52
2
votes
1 answer

How to use the "|" keyword in a specflow feature table

I have a specflow table as follows: | ViewableValue | Id | AnotherId | | "1 | 2 | 3:2" | abc | 123 | The problem is, Specflow doesn't seem to accept the "|" keyword in the table. How can I escape it so I can have it as a value inside my…
httpNick
  • 2,524
  • 1
  • 22
  • 34
2
votes
1 answer

How to make JS click with poltergeist webdriver?

When I run test with chrome driver - it passes. When I run it with poltergeist - it tries to make click with format HTML and I have error: ActionController::UnknownFormat: ActionController::UnknownFormat controller.rb def features …
2
votes
1 answer

Acceptance test Redirecting to specific URL

I created an Acceptance test on ember-cli, in order to check when a user is on a URL and then clicks on the "Cancel" button on that page, the page should be redirected to other URL. When running the test I'm getting this error: "Promise rejected…
karinfdez
  • 71
  • 5
2
votes
1 answer

Dependencies in Acceptance Testing

Me and a co-worker are having a debate. We are on a craptastic legacy project and are slowly adding acceptance tests. He believes that we should be doing the work in the gui/watin then using a low level library to query the database directly for to…
Grummle
  • 1,364
  • 1
  • 12
  • 21
2
votes
2 answers

Setup testing database for acceptance tests in Codeception (Laravel)

I'm using Codeception framework to perform acceptance tests in Laravel 5 application. I wanted to use a separate database for testing to keep real database from changing through testing. I configued the .yml files based on Codeception documentation.…
Aref
  • 39
  • 1
  • 2
  • 11
2
votes
2 answers

Implementing Unit Testing and Acceptance Testing Halfway Through A Project

I am having a lot of headaches maintaining a website right now. Most often things would end up breaking after a couple of updates. This website was started by two developers in our team and then passed on to me. I was wondering if it would be…
yretuta
  • 7,963
  • 17
  • 80
  • 151
2
votes
4 answers

Unit-Testing Acceptance-Tests?

I am currently making some Acceptance-Tests that will help drive the design of a program I am about to do. Everything seems fine except I've realized that the Acceptance-Tests are kinda complex, that is, although they are conceptually simple, they…
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
2
votes
1 answer

Why are Cucumber and Capybara called that?

Does anybody know why these names were selected for Capybara and Cucumber? Or were they just picked randomly?
laechoppe
  • 232
  • 3
  • 14
2
votes
1 answer

In cucumber jvm how do you split steps into multiple files properly?

I have a Step Definitions file with 11 methods--each of which is a @Given, @When or @Then method. Two types of things are being tested, Feature1 things and Feature2 things. Later on there will be Feature3 things, Feature4 things, and so on. Right…
2
votes
0 answers

Mock many-to-many relationship using Ember CLI Mirage

Apologies in advance: I am new to both Ember (2.2.0) and Mirage, and I am tasked with creating acceptance tests for an existing Ember application. My challenge is in using Mirage (0.1.13) and fixtures (not factories) to mock existing one-to-many or…
2
votes
1 answer

How to follow redirect from javascript in cucumber?

I have a a button (not a submit button) which does ajax calls before submitting another form. What I want to do is Given I am viewing homepage When I press "JustAButton" Then I should be on "/users/home" But the redirection happens somewhat late…
Jey Geethan
  • 2,235
  • 5
  • 33
  • 60
2
votes
2 answers

Mixing Then and When in BDD User Stories/Acceptance Tests

How do you handle user stories/acceptance tests that have long chains like this one, where the Then/When mingle together? Is it best to split this into a separate acceptance test where one tests that the dialog appears and then the second one tests…
Jake
  • 2,925
  • 5
  • 22
  • 21