4.5 Collaboration-based Test Approaches Flashcards

1
Q

All test techniques focus on defect detection. What makes Collaboration based approaches different?

A

They also focus on defect avoidance through communication and knowledge sharing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the most common format for a User Story?

A

As a [role], I want [goal to be accomplished], so that I can [resulting business value for the role]. Following this is the acceptance criteria.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the three critical aspects of User Stories?

A

Card - the medium describing the user story
Conversation - how the software will be used
Confirmation - acceptance criteria

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a user story represent?

A

A feature that will be valuable to either the user or the purchaser of a system or software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What benefit does collaborative user story writing offer?

A

The team can obtain a shared vision of what should be delivered by taking into account three perspectives: business, development, and testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the acronym used to describe a good user story?

A

INVEST: Independent, Negotiable, Valuable, Estimable, Small, and Testable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Acceptance Criteria?

A

Conditions that an implementation of the user story must meet to be accepted by stakeholders. They are effectively the test conditions that should be exercised by tests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are Acceptance Criteria used?

A
  • define the scope of the story
  • reach consensus among stakeholders
  • describe positive and negative scenarios
  • serve as a basis for acceptance testing
  • allow accurate planning and estimation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the most common formats for writing acceptance criteria for user stories?

A
  1. Scenario-oriented: Given/When/Then as in BDD
  2. Rule-oriented: bullet point verification list, tabulated form of input/output matching

Other formats are possible and fine so long as they are well-defined and unambiguous.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is ATDD?

A

Acceptance Test Driven Development is a test-first approach. Test cases are created prior to implementing user stories. These cases are created by team members with various perspectives, including users, developers, and testers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the steps of ATDD?

A
  1. Specification workshop where user stories and acceptance criteria are analyzed, discussed, and written by team members. Incompleteness, ambiguity, and defects in the story must be resolved at this time.
  2. Write Test Cases. Cases are based on acceptance criteria and can be seen as examples of how the software works.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Are the first cases written and tested usually positive or negative? What’s the difference?

A

Generally positive first, then negative, and then other non-functional quality characteristics are tested.

Positive test cases confirm expected functionality without exceptions or error conditions (essentially the golden path).

Negative cases test using error conditions, exceptions, and other situations that might be considered ‘unexpected’ or not along the golden path.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Should multiple test cases cover the same characteristics of a user story?

A

No, no two test cases should describe the same characteristics of the user story.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What coverage should test cases for a user story provide?

A

The test cases must cover all the characteristics of the user story and should not go beyond the story. However, the acceptance criteria may detail some of the issues described in the user story. In addition, no two test cases should describe the same characteristics of the user story.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the benefit of capturing test cases in a format supported by a test automation framework?

A

The developers can automate the test cases by writing the supporting code as they implement the feature described by a user story. The acceptance tests then become executable requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly