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
3
votes
3 answers

Microsoft Expression Studio - Web / Superpreview with ASP.NET

Is there anyway to test an ASP.NET webpage fully with Expression Studio or is it only possible to see a static view of the page and no way to interact with any of the elements on the page?
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
3
votes
3 answers

ATDD - Where do acceptance tests start?

I am trying to understand acceptance tests, but I am confused where it starts or what kind of test/s is/are involved. Do I have to use automating GUI test frameworks or do I have to use unit tests? What is the boundary of an acceptance test? Edit:…
Rookian
  • 19,841
  • 28
  • 110
  • 180
3
votes
2 answers

How to navigate to feature file from resharper test session window in Visual Studio 2012?

For acceptance testing I use TeckTalk SpecFlow in Visual Studio 2012. When I run all specflow scenarios, resharper unit test session windows is opened I can see all test results. Like on screen shot below. The question is, when I see failed test…
Dmytro
  • 16,668
  • 27
  • 80
  • 130
3
votes
2 answers

XML input/output with Fitnesse

I want to create automated tests which accept XML and verify that the XML returned is what was expected. Also, the end user needs to be able to add new data (XML input + expected XML output) without having to get into the code. It seems like…
Zack Marrapese
  • 12,072
  • 9
  • 51
  • 69
2
votes
1 answer

Acceptance testing a legacy code

I'm following a course in agile practices and I have a homework. During the course, I've been taught on how to use FIT for automated acceptance tests. From what I can see, FIT seems to be dying and I'm no longer sure that it is the technology I want…
satoshi
  • 3,963
  • 6
  • 46
  • 57
2
votes
4 answers

Failed automated tests: how to distinguish known and newly introduced bugs?

Use case: Fitnesse is used for automated testing of the web site. SUT (software under test) contains a known bug. Say, we expect that web page contains "Changes saved successfully" string but this string is missing because of the bug. So in…
Racoon
  • 951
  • 3
  • 14
  • 32
2
votes
1 answer

Mocking an expensive resource in acceptance tests (rspec, cucumber)

I'm in a bit of a quandary about how to go about writing a full stack acceptance test that involves on the lower levels interfacing with an expensive network call I'm trying to avoid. I'm using rspec and cucumber, and doing most of my mocking with…
James
  • 641
  • 3
  • 10
2
votes
0 answers

How you simulate keyboard events with Capybara in headless environment?

I'm trying to test complex web-app GUI, which involves some non-trivial keyboard interaction. I have unit tests for specific components of GUI, but I also use Cucumber and Capybara for end-to-end acceptance testing. I'm using headless Linux box for…
2
votes
0 answers

Is the ECONNREFUSED problem a known issue with (i)WebDriver?

On my current project we're using iWebDriver to run acceptance tests on our CI server. Occasionally, we see the error: Connection refused - connect(2) (Errno::ECONNREFUSED) Thus far, we have found no pattern to this failure; whenever we encounter…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
2
votes
0 answers

How to write a test that checks API rate limiting is working?

I have a function that makes an external API call. This API has a limit of 6 requests a second so I've setup a simple rate limiter using https://www.npmjs.com/package/limiter. My question is: how can I go about writing a test that asserts that this…
2
votes
4 answers

Do you concentrate more on unit, integration or acceptance tests?

Most gigs I end up at either have little or no unit tests. Typically what are described as the unit tests are actually integration tests and will be rarely run from the developers machine. I usually start my evangelism by preaching the difference…
tddmonkey
  • 20,798
  • 10
  • 58
  • 67
2
votes
0 answers

Jetbrains Rider - Export Unit Test Results

Is there a way to export test results to text / json / xml in Jetbrains Rider? From my co-workers, I've heard you can do this in Resharper for Visual Studio; since they both are Jetbrains products, I'd assume it's possible in both. For reference,…
Kellen Stuart
  • 7,775
  • 7
  • 59
  • 82
2
votes
1 answer

What problems does Steak gem solve?

I have few integration tests in Capybara+RSpec for a Rails project. Today I encountered Steak gem that meant to be pure Ruby alternative to Cucumber. Though at first glance I don't see any value in either of them. For me it looks like Steak renames…
Alexey
  • 9,197
  • 5
  • 64
  • 76
2
votes
2 answers

ember acceptance tests wait helpers

I am writing acceptance tests for my ember app and one of the component take user input and validates credentials after which user can click continue and proceed ahead. The problem I am facing is as soon as tests fill in the input fields, then it…
Bhavya Bansal
  • 257
  • 1
  • 15
2
votes
1 answer

Codeception Acceptance Tests not working

everyone! I have been trying to configure Codeception 2.3.6 with Laravel 5.3.30 running on PHP 7.0.23 powered by WAMP 3.1.0. My functional test cases are running fine, but when I try to run my acceptance test cases, a new chrome window opens and…