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

How can i use Selenium for long scenarios?

I have been asked to record a long running scenario which involves pages of functionality for the life-cycle of a patient from registration to billing. I tried Selenium IDE but it is flaky, giving replay errors of what it just recorded. When i try…
Chakra
  • 2,525
  • 8
  • 43
  • 82
0
votes
0 answers

how do i control the order of execution of cucumber tests

I want to split my tests in different files login.feature student.feature item.feature logout.feature Login.feature need to be my first script to run because for other tests I need to be logged in (I will disable the reinstall app between…
NLOL
  • 89
  • 2
0
votes
1 answer

How to click visible element in PHPUnit Selenium2TestCase?

I have 2 buttons with the same name. For design reasons only one of them is visible at the same time. I want to click on any visible button. If first button is hided this expression…
sectus
  • 15,605
  • 5
  • 55
  • 97
0
votes
2 answers

FitNesse tests with objects as parameters

I am having trouble writing a FitNesse test for my application. The test in itself is pretty simple. We setup a loan, it has a few properies (Principal, Interest, Fees). There is another object, Rules, which contains properties for paying back the…
CaffGeek
  • 21,856
  • 17
  • 100
  • 184
0
votes
1 answer

Specflow Feature File Best Practice

Thanks in advance for the help. My question pertains to best practices inside a SpecFlow feature file? Question: Is using a wait command inside of the feature file considered bad practice. Example: And i click on the username And wait 5…
Zach Davis
  • 65
  • 5
0
votes
1 answer

Maven/Eclipse - Quick iteration acceptance Testing a project packaged as a WAR file

Eclipse makes working with multi module maven projects easy because you don't have to re-build and re-install a module before dependent modules will see changes to it. So you just change the code and eclipse updates the dependencies magically in the…
PiersyP
  • 5,003
  • 2
  • 33
  • 35
0
votes
1 answer

theintern: 1 test failure causes all tests to fail - is this expected behaviour?

I have what I think are standard functional tests set up for the intern and I can get them to pass consistently in several browsers. I'm still evaluating if it makes sense to use the intern for a project so I'm trying to see what happens when tests…
user82116
  • 418
  • 5
  • 12
0
votes
1 answer

Codeception - HTML report generation seems slow?

I am using Codeception to run three acceptance tests which basically are as follows:- Check the email address 'admin@admin.com' exists Create a new user account Login to the website Obviously this requires the database so I have added 'Db' to the…
Zabs
  • 13,852
  • 45
  • 173
  • 297
0
votes
1 answer

Updated to Capybara 2.1.0.rc, now having trouble with current_path in my feature specs

So it seems like I've used current_path many times in request specs. However, Capybara now requires specs to be in the features directory in order to use the Capybara DSL (page & visit) # creating_posts_spec.rb require "spec_helper" feature…
fontno
  • 6,642
  • 6
  • 36
  • 43
0
votes
1 answer

How to describe default state in features and GUI details

I have a button that changes its caption on hover. Im kinda at a loss how to phrase the features to test for that default state. At the moment Im using Scenario: show caption on hover Given I should not see an "Add Website" caption on the…
user1703761
  • 1,086
  • 3
  • 11
  • 23
0
votes
1 answer

Framework for readable and maintainable acceptance tests

Im looking for an acceptance testing framework with readable syntax (like Cucumber's plain text specs) but as an internal domain specific language (DSL). First I was thinking about ScalaTest but non technical customers run screaming away if they see…
deamon
  • 89,107
  • 111
  • 320
  • 448
0
votes
2 answers

Acceptance Test Driven development of a service with several clients

I have a question related to acceptance test driven development (ATDD). My application is developed as a REST Service which might have several clients - web site, mobile, desktop. The ATDD concept says that I should start every feature with an…
Markus
  • 3,547
  • 10
  • 39
  • 55
0
votes
1 answer

How to detect dom change in acceptance testing with selenium and codeception

I am writing an acceptance test for application written in angular. I use Codeception testing framework with selenium. The test writes some text into input field and submits form. It should add new task to db through ajax api call and add new
  • 0
    votes
    2 answers

    Geb how to auto populate username/password prompts

    I'm using geb with spock as my acceptance test framework. Everything is going great except that there is an issue with a couple of tests where when it redirects to another website we are prompted to enter a username and password to access the site.…
    James Murphy
    • 800
    • 1
    • 15
    • 29
    0
    votes
    1 answer

    Using TeamCity how can I deploy to an environment then run tests against that environment?

    I am struggling to get my head around this! I wish to have TeamCity deploy our windows service to a particular environment, then a separate project run acceptance tests against that environment. Currently I have a project that builds then runs unit…
    Loofer
    • 6,841
    • 9
    • 61
    • 102