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

Use the same examples for multiple Cucumber js scenarios

I'm finding it difficult to use multiple Scenario Outlines to use the same example and run in a sequence. My use case is for a feature to test like this: Scenario Outline: Time consuming login process When I enter login credentials for
2
votes
0 answers

what's the enzyme equivalent of a TextNode and how do I select it in my unit test?

I'm writing tests with jest and enzyme for a React component which looks like this: function Message(props) { return (
{props.message}
); } Message.propTypes = { message: PropTypes.string.isRequired…
Dan O
  • 6,022
  • 2
  • 32
  • 50
2
votes
1 answer

Codeception DataFactory interaction between helper and other factories

I'm looking into using DataFactory's in Codeception for seeding of data, and for use in our acceptance tests. In the documentation there's mention of 2 approaches, one using the helper file and one using factories files. We load both options using…
robjmills
  • 18,438
  • 15
  • 77
  • 121
2
votes
3 answers

Which acceptance testing frameworks are better for backend development?

By backend I mean software systems that consume data, process files or communicate using machine interfaces (REST, SOAP, CORBA, etc...). No fancy web or UI testing is necessary. I have in mind Cucumber and Robotframework but I don't know how well…
tonicebrian
  • 4,715
  • 5
  • 41
  • 65
2
votes
1 answer

Ember Acceptance testing: check that button isEnabled

I'm new to ember in general and trying to check (in my Acceptance test), whether a submit button is enabled after entering a valid email. I tried: test('Typing email enables button', function(assert){ visit('/'); var theBtn =…
codemon
  • 1,456
  • 1
  • 14
  • 26
2
votes
1 answer

macOS Xcode blackbox testing

I'm developing an app which is like a file-sync-client (like Dropbox). I'd like to have acceptance (black-box) tests kind of like: - (void) testLocalFolderCreation { // assert there is no folder on the server // create folder (either via…
mixtly87
  • 1,675
  • 15
  • 32
2
votes
1 answer

Testing already deployed ember app with ember-cli

I'm aware that ember-cli can be used write unit, integration and acceptance tests for apps with default test-runners: QUnit and PhantomJS. I want to write acceptance tests for a remote website using ember-cli . I was able to write basic test cases…
pritam
  • 2,452
  • 1
  • 21
  • 31
2
votes
0 answers

React Native Acceptance Testing

I have an application with react-native and i need build a valid .ipa or .app for iOS to execute acceptance test with appium and node. At the moment i use the react-native run-ios --configuration Release command but in the continuous integration…
Toni Chaz
  • 651
  • 11
  • 22
2
votes
1 answer

Disable sound in capybara-webkit

I'm running a website signup spec with Capybara.javascript_driver = :webkit I noticed that when the test completes the signup, the "successful signup" sound (the one that can be heard when signing up from a "normal" browser) starts. I think this is…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
2
votes
1 answer

Ember acceptance test multiple keypress event

I want to simulate multiple keypress(ctrl+alt, alt+enter, alt+uparrow etc) events for my acceptance test cases. Ember test documentation has given an abstract syntax for the triggerEvent method. It's still unclear how to use it for multiple keypress…
2
votes
3 answers

How specific should my acceptance test example be?

I'm new to Gherkin / ATDD / BDD. I'm drafting the following acceptance test: Given a user is waiting for an operation to complete And the operation is % complete When seconds elapse Then a progress indicator should be…
Tony D
  • 266
  • 2
  • 15
2
votes
1 answer

codeception acceptance test with fixtures in yii2

Sorry for maybe silly question, but I cannot find answer through googling. My question is: I created file TaskCest.php under backend\acceptance, In that file have following declaration use yii\test\FixtureTrait; public function fixtures() { …
Velaro
  • 461
  • 1
  • 3
  • 20
2
votes
1 answer

How to use nock to record request and responses to files and use it to playback in mocha acceptance test?

I inherited a typescript@2 project that has no tests in place. It's basically a cli task runner, and a task requests an external api multiple time in order to create a file. As a a first failsafe, I want to set up acceptance tests. Therefore, I want…
k0pernikus
  • 60,309
  • 67
  • 216
  • 347
2
votes
2 answers

How to get the path to a file downloaded via a browser in Webdriver in Codeception?

I do acceptance testing with Codeception using WebDriver. I have a button on my page which I can click to download a file. How do I then see the content of the downloads directory? I haven't found any configuration parameter to set up the downloads…
gvlasov
  • 18,638
  • 21
  • 74
  • 110
2
votes
0 answers

iOS integration/acceptance/functional testing for standalone modules/frameworks

I'm currently looking at various integration/functional/acceptance testing frameworks for iOS and they all seem to rely heavily on the UI and accessibility labels. To me a lot of these seem more based towards UI tests as opposed to integration…