Test Cases and Test Scenarios Flashcards
What is a checklist?
A set of ideas.
Kind of a draft for further activities.
Fast and simple to write.
Provide recommendations in form of good checklists writing approaches.
Possible recommendations:
- By application parts, sub-parts, sub-sub-parts.
- By user scenarios and actions.
- By subject matter scenarios and cases.
- By testing objectives and quality criteria.
What are the two main test design techniques?
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.)
What is the equivalence class?
A set of data that is treated the same by a module or that should produce the same result.
What are the boundaries?
The boundaries is a test design technique that performs additional tests on the “edges” of each equivalence class.
What is a test case?
A set of preconditions, inputs, actions, expected results and postconditions, developed based on test conditions. Test case always follows some purpose.
What are the key fields of a test case?
~ ID ~ Priority ~ Related requirement ~ Module and submodule ~ Test case title, preparations and steps ~ Expected results
Elaborate. Key field of a test case: ID
~ Unique
~ Meaningful
Elaborate. Key field of a test case: Priority
~ 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.
Elaborate. Key field of a test case: Related requirement
~ Contains the ID of the requirement this test case is intended to test.
~ Facilitates traceability between requirements and test cases.
Elaborate. Key field of a test case: Module and submodule
~ 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!
Elaborate. Key field of a test case: Test case title
~ 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!
Elaborate. Key field of a test case: Preparations
~ 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”).
Elaborate. Key field of a test case: Steps
~ Steps describe action sequence to perform during the test case execution.
Elaborate. Key field of a test case: Expected results
~ Expected results describe the application reaction to the specific input or action.
~ Both steps and expected results have the same numeric id’s.