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
4 answers

Connecting to multiple databases with Codeception acceptance tests

I am trying to figure out how to connect to multiple databases using Codeception. I have even tried directly instantiating a new PDO instance but then the codept run command just ends prematurely with no error message. I can connect fine to one…
Gabriel
  • 351
  • 2
  • 7
  • 13
3
votes
1 answer

Single test fails in PhantomJS but works in Chrome and Firefox

I have a single acceptance test in Ember.js 1.10, Ember CLI 0.1.12 which fails on PhantomJS but runs fine in both Chrome and Firefox. I've tried to debug this for 2 days but I'm running out of ideas. Name of the test is user can view logged-only…
Daniel Kmak
  • 18,164
  • 7
  • 66
  • 89
3
votes
1 answer

Advantage to using describe/it over feature/scenario in specs? (besides syntactic sugar)

Ruby 1.9.3, Rails 3.1.10, RSpec 2.13.0, Capybara 2.2.1 I am writing tests for a Rails 3 app -- a GUI for customers (and admins) to configure various phone settings. I have written 6 or so spec files, with plenty others wrriten before (to which I…
onebree
  • 1,853
  • 1
  • 17
  • 44
3
votes
2 answers

Black/gray-box testing of REST API and UI

We are choosing what system for automated acceptance testing to start using (switch) in our company. Currently most of the backend test cases are written by our former tester in Python and for new testers it is difficult to use & maintain it; for UI…
Radek Skokan
  • 1,358
  • 2
  • 15
  • 38
3
votes
2 answers

Use Junit to Test install4j installer Behavior

Does anyone know of documentation or examples around using junit to test installer behavior? We build install4j with maven + execmojo producing installer during maven's compile phase. We want integration tests to verify installer logic (if variable…
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
3
votes
2 answers

list of numbers as parameter in specflow test step

I am looking for a way to have a step definition such as: Given a collection of numbers 1,2,3,4 and map that to a step definition with either a int[], List, or IEnumerable the regex (\d+(,\d+)*) matches, but means I need two parameters. At present I…
MikeW
  • 1,568
  • 2
  • 19
  • 39
3
votes
1 answer

How much should an integration test contain? Where are side effects tested?

Say I have a feature requirement that when a user successfully signs up for a paid account, several things happen: The user's account is created The user's credit card is billed, resulting in a new transaction record A receipt is emailed to the…
Jared
  • 2,885
  • 2
  • 28
  • 31
3
votes
2 answers

Click image submit button with Codeception

I have a simple question which I'm hoping someone will nail in not time. I'm just running through some Acceptance tests with Codeception and I'm attempting to click a submit button of type image:
Phil
  • 76
  • 1
  • 6
3
votes
2 answers

Can I use phantom.js to test a javascript heavy application?

Currently I'm using a combination of specflow, selenium, fluent automation and xunit to test my browser application on a deployed instance of the website in chrome. This works well on a developer machine but frequently fails on the build server…
Neil
  • 5,179
  • 8
  • 48
  • 87
3
votes
2 answers

How to write acceptance tests

How would you go about introducing acceptance tests into a team using the .NET framework? What tools are available for this purpose? Thanks!
Yuval
  • 1,382
  • 10
  • 22
3
votes
1 answer

Acceptance Tests and Code Coverage

What is the best way to measure coverage for your Acceptance Tests?? How do you define how much your acceptance tests cover and when they are enough??
Nirmal Patel
  • 5,128
  • 8
  • 41
  • 52
3
votes
3 answers

How to do a smoke Test and Acceptance test in a Javascript Aplication?

I want to do a smoke test in order to test the connection between my web app and the server itself. Does Someone know how to do it? In addition I want to do an acceptance tests to test my whole application. Which tool do you recommend? My…
McSas
  • 2,224
  • 3
  • 27
  • 42
3
votes
4 answers

What's the advantage of using Fitness versus automated Integration Tests?

What's the advantage of using Fitness versus automated Integration Tests? I'm struggling to see exactly where Fitness fits in when aiming to deliver a fully tested solution. Surely, if a developer has unit and integrate tested their code then this…
user989046
  • 589
  • 2
  • 7
  • 11
3
votes
2 answers

Fitnesse plugin for eclipse

I'm working with Fitnesse as an acceptance test tool. I'm right the fixture in java. And i'm looking for a good plugin for the eclipse.
Adi Mor
  • 2,145
  • 5
  • 25
  • 44
3
votes
1 answer

Framework for running automated acceptance tests after build?

In my current project we are using a TFS Build server for continuous integration (build + run unit tests). We also have a set of automated acceptance tests written as SpecFlow features. However, these are not integrated into the continuous…
Chris
  • 885
  • 8
  • 19