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

Has anyone used Robotium or Calculon for testing Android apps?

Has anyone used Robotium or Calculon for testing Android apps? Are they useful? Any recommendations on which is better?
Bob McCormick
  • 643
  • 4
  • 8
9
votes
1 answer

SpecFlow Integration Testing with Database Patterns

I'm attempting to set up SpecFlow for integration/acceptance testing. Our product has a backing database (not a huge one though) in Sqlite. This is actually proving to be a slightly sticky point though; how do I model the database for the tests? …
8
votes
3 answers

What is the most maintained newest framework in .NET for writing acceptance tests?

I am practicing TDD for some time now, I want to advance my skills and start doing ATDD, I read about frameworks for ruby and java but didn't hear much about .NET What is the most maintained newest framework in .NET for writing acceptance…
David MZ
  • 3,648
  • 6
  • 33
  • 50
8
votes
1 answer

How reliable is HtmlUnitDriver?

Obviously, the answer to the question depends on a number of environmental factors. In general, I'm wondering what people's experiences are with HtmlUnitDriver as a reliable tool that can be "trusted" to navigate a website basically the same way…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
8
votes
3 answers

How to create acceptance tests for async micro services

If I have Microservice, which should create User but since user creation is complex it uses queue, and user is actually created by the consumer the endpoint only takes request and returns ok or fail. How do I create acceptance test for this…
pain.reign
  • 371
  • 2
  • 4
  • 17
8
votes
1 answer

What person and mood should I use in Gherkin/Specflow Given/When/Then statements?

I am a bit confused with the way people write statements in the Gherkin language to describe various actions performed for acceptance testing. In some articles people use "I" and in some articles people use "User". The same is the case for reaction…
Suraj Gupta
  • 390
  • 1
  • 9
  • 25
8
votes
5 answers

How to send keypress in nightwatch

I know how to send click events with nightwatch: browser.click('#my-control'); But I have been unable to find a way to send key events. How is this done in nightwatch?
Carl Manaster
  • 39,912
  • 17
  • 102
  • 155
8
votes
6 answers

How to fill a rich text editor field for a Codeception Acceptance test

I'm trying to fill a rich text editor field (TinyMCE) within my acceptance test in Codeception. Using the fillField() function doesn't work as this 'field' isn't really an input field. It's an iframe, styled to look like a fancy textarea. How can I…
mattyh88
  • 1,585
  • 5
  • 26
  • 48
8
votes
1 answer

How can I access an actor (e.g. AcceptanceTester) in a Codeception helper

when I use the AcceptanceHelper generated by codeception (_support/AcceptanceHelper.php), how can I access the Actor / AcceptanceTester ($I). And how can I access my functions from StepObjects? I have: acceptance/_steps/MyStepObject.php namespace…
mcode
  • 534
  • 4
  • 18
8
votes
1 answer

seeInField finds the element, while fillField doesn't - CodeCeption

I am totally new to CodeCeption. I have the below html inside the body,
In CodeCeption acceptance test I have a this below code `
Kamalakannan J
  • 2,818
  • 3
  • 23
  • 51
8
votes
3 answers

mock $httpBackend in angular e2e tests

Does anyone have an idea how to mock $httpBackend in angular e2e tests? The idea is stubbing XHR requests while running tests on travis-ci. I'm using karma to proxy assets and partials from my rails app running on travis. I want to do acceptance…
8
votes
3 answers

Configure RSpec to use the Capybara.javascript_driver for all request specs

Is it possible globally configure RSpec to use Capybara's (default or custom) JavaScript driver for all request specs? We sometimes forget to manually add js: true to every request spec and it's kind of annoying.
rubiii
  • 6,903
  • 2
  • 38
  • 51
7
votes
2 answers

How to choose between different test types with SpecFlow, Cucumber or other BDD acceptance test framework?

I am looking at SpecFlow examples, and it's MVC sample contains several alternatives for testing: Acceptance tests based on validating results generated by controllers; Integration tests using MvcIntegrationTestFramework; Automated acceptance…
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
7
votes
2 answers

NightwatchJS .elements returning string and not objects

I am using nightwatch and trying to iterate through a list of elements. However, when I don't get objects or elements, but I get an array of strings. CODE browser.elements("css selector", ele, function(r){ browser.perform(function(){ …
7
votes
4 answers

Flex automated acceptance testing tools

I am looking for recommendations for tools for automated testing of a web application with some flex components. To provide some background we have a web application that was entirely developed in AJAX+HTML and we were somewhat successful in using…
Gregory Mostizky
  • 7,231
  • 1
  • 26
  • 29
1 2
3
39 40