Questions tagged [acceptance-testing]
According to Wikipedia, Acceptance testing is a test conducted to determine if the requirements of a specification or contract are met.
101 questions
2
votes
5
answers
500
views
How to follow Outside-In TDD with Micro-services and Micro-frontends?
I was exploring TDD, specifically the Outside-In TDD pattern, where we need to write the acceptance (integration) test and then jump on to granular unit tests to implement the feature and make the ...
11
votes
4
answers
3k
views
Should you define acceptance tests for vital yet simple behavior?
I'm trying to practice BDD by applying it to a simple problem—in this case, the flocking algorithm, better known as "boids".
Before any of the rules (cohesion, alignment, etc.) comes the ...
-3
votes
2
answers
401
views
Why are logs not used for testing? [closed]
In tests, state verification or collaboration verification is usually undertaken. One of the drawbacks of this approach is the coupling of tests to the design of constructs. Consequently, when ...
2
votes
2
answers
700
views
Does the "Pyramid of tests" contradict the idea of tests focusing on behaviour?
I am talking about these two testing strategies :
Have a pyramid of tests (with many more unit tests than high-level tests), because high level tests are harder to maintain and slower (see also : ...
-3
votes
1
answer
107
views
Registration feature integration testing(Acceptance Testing) [closed]
I would like to add integration testing/automated acceptance testing for a mobile app calling a registration API from the backend. I will register a sample user on the test feature then delete the ...
0
votes
2
answers
517
views
How to reset state of exernal services when running Acceptance tests
What are the generic patterns and best practices for resetting state of a database, storage, external service, etc, in Acceptance Tests?
I'm struggling with spaghetti, living in acceptance tests. It ...
1
vote
2
answers
98
views
How to use release toggles with Acceptance Test Driven Development?
One of the advantages of feature / release toggles is that you can integrate and deploy code without releasing it. But how does that work with ATDD? If I write some tests that are failing, because I'm ...
3
votes
1
answer
97
views
Structuring user story tests with variations
I'm writing the sort of tests which go through a whole user scenario e.g.
User clicks "edit profile"
User edits their name
etc.
However, I find myself needing often needing to test small ...
2
votes
1
answer
515
views
Should a large number of system tests be part of the build?
I believe extensive automated unit tests should be part of the build. However the testing pyramid suggests that there should be a much smaller number of system tests.
Should an automatic build include ...
2
votes
2
answers
236
views
Ease testing with complex setup scenarios
Within our codebase we have integration tests like these:
func TestActivateSuspendedFoo() {
// setup all dependencies
baz := jsonToStruct(
"baz": {
"a": ...
2
votes
3
answers
310
views
Software Quality - preventing regressions with documentation
I lead a small but growing team of developers on an iOS application with a server backend. We have comprehensive unit and integration tests on both ends.
As the product grows, I want the onus of "...
-3
votes
3
answers
315
views
How to know if I need a unit test? [duplicate]
Do I need unit testing for everything? I know that Unit testing is not necessary for really small tasks, but what about for bigger stuff? How do I know I need a unit test?
-2
votes
2
answers
92
views
How do I model all the different states of a widget for testing?
Say I am a QA person so I have no control over the complexity of the code in the following example.
I have a datatable widget with many different filtering and searching options. All the columns on ...
2
votes
1
answer
313
views
Should BDD/Gherkin be used only for user visible behaviour?
We're a small team of 3 senior and 1 junior developers and I've been tasked with introducing BDD within our development process.
To say there's a lot of confusion about BDD is an understatement and ...
20
votes
7
answers
5k
views
Is it a good idea to write all possible test cases after transforming the team to TDD to achieve a full coverage?
Assume we have a large enterprise-level application without any unit/functional tests. There was no test-driven development process during the development due to very tight deadlines (I know we should ...