Test Cases and Test Scenarios Flashcards

1
Q

What is a checklist?

A

A set of ideas.
Kind of a draft for further activities.
Fast and simple to write.

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

Provide recommendations in form of good checklists writing approaches.

A

Possible recommendations:

  1. By application parts, sub-parts, sub-sub-parts.
  2. By user scenarios and actions.
  3. By subject matter scenarios and cases.
  4. By testing objectives and quality criteria.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two main test design techniques?

A
Equivalence class and the boundaries are the two main ones.
(A possible option would be thinking what software should or shouldn't do in some situation.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the equivalence class?

A

A set of data that is treated the same by a module or that should produce the same result.

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

What are the boundaries?

A

The boundaries ​​is a test design technique that performs additional tests on the “edges” of each equivalence class.

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

What is a test case?

A

A set of preconditions, inputs, actions, expected results and postconditions, developed based on test conditions. Test case always follows some purpose.

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

What are the key fields of a test case?

A
~ ID
~ Priority
~ Related requirement
~ Module and submodule
~ Test case title, preparations and steps
~ Expected results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Elaborate. Key field of a test case: ID

A

~ Unique

~ Meaningful

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

Elaborate. Key field of a test case: Priority

A

~ Shows how important this test case is
~ Represented by letters, numbers or words (A, B, C, D, E // 1, 2, 3, 4, 5 // “High”, “Medium”, “Low”)
~ Correlated with:
~ the requirement importance;
~ potential severity of a defect that this test case may detect.

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

Elaborate. Key field of a test case: Related requirement

A

~ Contains the ID of the requirement this test case is intended to test.
~ Facilitates traceability between requirements and test cases.

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

Elaborate. Key field of a test case: Module and submodule

A
~ Shows the application sub-parts covered by the test case.
~ Simplifies understanding of test case purpose.
~ Module and submodule are parts of the application, NOT actions!
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Elaborate. Key field of a test case: Test case title

A

~ Shows the main idea of the test case.
~ Populates the test cases list.
~ Is one of the main data sources when searching for a particular test case.
~ A test case should ALWAYS have a title!

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

Elaborate. Key field of a test case: Preparations

A

~ Optional
~ Describes actions and conditions to be done or met before the test case itself begins.
~ Often does not interfere with the application under test (unlike “Steps”).

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

Elaborate. Key field of a test case: Steps

A

~ Steps describe action sequence to perform during the test case execution.

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

Elaborate. Key field of a test case: Expected results

A

~ Expected results describe the application reaction to the specific input or action.
~ Both steps and expected results have the same numeric id’s.

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

List all good Test Cases properties.

A

How to determine a Good Test Case:
~ Somewhere between being too specific or too general
~ Somewhere between being too simple or too complex
~ Either independent or reasonably linked
~ Follows its goals without retreat
~ Does not contain unnecessary steps
~ Not redundant with other test cases
~ Makes found defects obvious
~ Performs some non-trivial actions

17
Q

Definition of a simple test case.

A

A simple test case operates with single object (or the main object is obvious), it contains a small number of trivial actions.

18
Q

Definition of a complex test case.

A

A complex test case operates with several equal objects and/or contains many non-trivial actions.

19
Q

Pros of test case simplicity.

A

~ Easy to understand
~ Easy to execute
~ Ease to see the defects
~ Found defects are obvious

20
Q

Cons of test case simplicity.

A

~ Too simple test cases are nothing more than a step or several steps of more complex test cases.

21
Q

Pros of test case complexity.

A

~ More chances to break something
~ More simular to real user actions
~ Developers rarely test such things

22
Q

Cons of test case complexity.

A

~ Too complex test cases take a lot of time to write and maintain

23
Q

Definition of an independent test case.

A

An independent test case does not reference any test cases and is not referenced by any of them.

24
Q

Definition of a linked test case.

A

A linked test case has a place in a chain of test cases.

25
Q

What is a Test Suite?

A

A set of test cases or test procedures to be executed in a specific test cycle.

26
Q

Sets of test cases can be free or linked. Name the difference between the two.

A

Free set of test cases doesn’t imply any specific execution order, it only composes several test cases together; Linked set, however, implies specific execution order.

27
Q

What are the four questions we must have answer for if we want to make good test cases?

A
  1. What is this?
  2. Who needs it and what for?
  3. What is the usage process?
  4. How can something go wrong?