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

Is Geb(automation testing framework) a good acceptance testing framework?

Is Geb(automation testing framework) a good acceptance testing framework?
Prabu
  • 101
  • 2
  • 7
4
votes
2 answers

Best practice for acceptance tests in Java

We have a program that that we would like to do acceptance tests on it. The input is an XML file with different "tasks". The output is another XML file with results. What would be the best practice to automate acceptance tests for it? We will…
Artium
  • 5,147
  • 8
  • 39
  • 60
4
votes
3 answers

Acceptance testing preloading of data into GAE dev server datastore

In my application I have a set of of DAOs which I inject into my application layer. For an acceptance test I'm writing, I want to preload the dev_server datastore with data, so I use the same Spring config in my JUnit test (using the…
kierans
  • 2,034
  • 1
  • 16
  • 43
4
votes
0 answers

ember acceptance test for mouse draggable actions

As we have ember helpers for all events, how can i cover my drag and drop events in the components through acceptance test ? Provide a test with some working example.
Manikandan
  • 1,234
  • 11
  • 18
4
votes
2 answers

Is it correct to have more than one Then in a single Cucumber scenario?

I am new at Cucumber. I am trying to write a feature file that tests a new drop down on an existing page and on selecting this new value entry goes in a new DB Table I have written this feature file. It doesn't seem correct. I'm not sure if we…
Lav
  • 1,283
  • 5
  • 21
  • 48
4
votes
2 answers

Outside-In TDD: Should I check in failing acceptance tests?

So you start with a failing acceptance test, and build out the feature with unit tests until the acceptance test passes. But as you get passing unit tests, should you be checking in to source control? If you do, do you mark the acceptance test to…
Sheldon Cooper
  • 627
  • 4
  • 15
4
votes
1 answer

Codeception vs peridot + php-webdriver?

I would like to implement some basic acceptance tests for my company's legacy PHP app. Selenium WebDriver looks like the best fit, but I need advice on what testing framework to use. Option 1 Our unit tests are written in Peridot PHP, and I know…
Drake Parker
  • 127
  • 10
4
votes
2 answers

Clearing cache for laravel 4 app before codeception tests

I'm using codeception to run acceptance tests for a laravel app. One problem I've been into is is that my login tests start failing when the login page gets cached and, I guess, I'm getting logged in automatically. I think this is the case because…
4
votes
1 answer

How can I assert that a field is not empty with Codeception/PhantomJS?

I have a form which, when filled out and clicked, returns a list of zip codes to a hidden field. I want to assert that the list of fields has been filled. However, I'd like to not check the fields value against any specific list, allowing for…
apkostka
  • 405
  • 3
  • 13
4
votes
1 answer

FEST: start/stop external SWING program which uses System.exit() without affecting VM

In my Cucumber-jvm scenarios I need to run an external jar program before each scenario, interact with it using the FEST library in the steps, and finally shut the program down to clean the slate for the next scenario. The particular external…
johnrl
  • 583
  • 6
  • 17
4
votes
3 answers

Ruby -> Haskell Unit and Automated Acceptance Testing

I'm a programmer with a background in many languages, but most recently focused on Ruby/Rails and interested in learning some Haskell. I've done a bit of playing around in Closure as well (pretty basic stuff though). My current preferred approach to…
Steve Jorgensen
  • 11,725
  • 1
  • 33
  • 43
4
votes
1 answer

unable to run codeception in virtual machine -Mink could not be found and loaded

I installed a vm ubuntu guest OS. My app is running from the browser in my host OS at the url http://abc.localhost:8888 I type php codecept.phar run in the guest OS terminal. I get the following error: [Codeception\Exception\Configuration] Mink…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
4
votes
1 answer

Continuous Integration and Acceptance Test Driven Development

I have a question related to Acceptance Test Driven Development (ATDD). According to the process, I start every feature with an acceptance test (end-to-end test). I commit these tests and they are failing as expected. The problem is that I should…
4
votes
2 answers

How does the "element(selector, label).query(fn)" method work in Angular E2E tests?

When writing E2E tests for Angular Scenario Runner I came across a query() method: element(selector, label).query(fn) The documentation says: Executes the function fn(selectedElements, done), where selectedElements are the elements that match the…
John Doe
  • 4,574
  • 2
  • 26
  • 30
4
votes
2 answers

Testing Nodejs with Coffeescript

I'm dabbling with node.js and coffeescript and I want to know what is a good unit test and acceptance test setup for the technologies. The data component of the project (backend/webserver/database) is using coffeescript and node.js and the view and…
GTDev
  • 5,488
  • 9
  • 49
  • 84