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

Should I practice acceptance testing for my SOA part?

Suppose an SOA layer with a web app at a boundary. If I want to create some acceptance tests in order to practice Behaviour-Driven Development, does it make sense to have distinct ones at both parts: SOA part and Web app part? Acceptance testing for…
Mik378
  • 21,881
  • 15
  • 82
  • 180
0
votes
1 answer

rspec2 acceptance testing with capybara

I'm trying to implement a feature with rspec2 and rails3 , basically I have a Post model which I'm trying to test by creating a Post (I'm using device for authentication) this is my feature spec/acceptance/new_post_feature_spec.rb require…
sameera207
  • 16,547
  • 19
  • 87
  • 152
0
votes
1 answer

How to access class variables in cabybara tests?

In my capybara tests I want to check if certain links are visible or not. Before each test, I login as a foo. Is it possible to access that @foo variable out of the contexts? Would be very handy for the data setup. My source looks like this: …
SDD64
  • 706
  • 13
  • 28
0
votes
1 answer

Start and set up web service before running Android acceptance tests that use it

I have an Android app that depends on a web service for data. I'd like to set up automated end-to-end acceptance tests that run against the app, with the web service being part of the 'black box'. Is it even an option to start and set up the web…
Julian A.
  • 10,928
  • 16
  • 67
  • 107
0
votes
1 answer

How specific do I get in BDD scenarios?

Take two different ways of stating the same behavior. Option A: Given a customer has 50 items in their shopping cart When they check out Then they will receive a 10% discount on their order Option B: Given a customer has a high volume of items in…
Ryan Nelson
  • 4,466
  • 5
  • 29
  • 45
0
votes
1 answer

Acceptance testing of Spring MVC app

Can you recommend some frameworks for acceptance testing of Spring MVC application? Something like Rails "Capybara+Cucumber" would be ideal. I have found only Selenium so far.
HtonS
  • 301
  • 4
  • 18
0
votes
2 answers

Rails acceptance tests - run Foreman

My application runs properly using Faye, Redis, Resque and other services, that I am starting every time with Foreman. Now I am writing acceptance tests with Capybara+RSpec, and I wonder how I could start Foreman (or even Faye alone) with Capybara…
0
votes
1 answer

Is it possible to run a single Steak test in RubyMine?

I've recently migrated from TextMate to RubyMine and have really liked it so far. One thing I noticed was that RubyMine doesn't have a Steak plugin like TextMate does, which allows the ability to run a single scenario. Is there any way to do the…
Kai
  • 23
  • 3
0
votes
1 answer

Acceptance testing of sinatra app using webrat fails

I am trying to test a ruby authentication app using minitest and webrat but get errors. Tests like visit '/' fail with an error Status 200 expected but was 404. Tests containing code like fill_in :email, :with => "first@company.com" fail with error…
barerd
  • 835
  • 3
  • 11
  • 31
0
votes
1 answer

In an acceptance test, how do I know when my asynchronous events are?

So here's the rub - I have a system that, when an event occurs, fires off a chain of disparate asynchronous code (some code even fires off more events). Now during acceptance testing I fire that same event - but what strategy should use to notify…
-1
votes
1 answer

How to use cucumber correctly?

For example, the Yathzee game has a score card with 13 categories, when I want to test scoring, should I just create a .feature file and write 13 scenarios to test each category, or create .feature file for each categroy?
-1
votes
1 answer

Acceptance testing functionality involving time-triggered azure function

My acceptance testing infrastructure uses specrun to create simulate a user, invoke my web service and check for results. This works well to test functionalities which involves user interactions (calling REST api, sending message etc). But, in the…
Tany
  • 1,252
  • 14
  • 30
-1
votes
1 answer

In clean architecture, How to do acceptance testing?

In Android, I'm using clean architecture and putting my code packaged by layer. So I've 4 layers (modules) : app data device domain I know, correct me if I'm wrong, that acceptance testing (Using FitNesse) should replace UI in better words, it…
abd3lraouf
  • 1,438
  • 1
  • 18
  • 24
-1
votes
1 answer

Is it ok to reset database on running programs in acceptance testing?

I have a system of multiple ruby applications. Full stop and start of this system takes about 2 minutes. I decided to make my apps fault-tolerant to DB downs, so when I drop databases and restore them my apps don't fail. Is it normal? Are there any…
across
  • 537
  • 8
  • 16
1 2 3
39
40