Summary of the Week:
1. The test of basic knowledge:
Test Case: core software testing for a particular purpose and design of a group containing the test inputs, execution conditions, the expected results of the output document.
Role: know the test works
Important components: test name, input data, the steps, expected results
Eight test elements: Using Example number, project name, the name of the use case, the priority, the preset condition, the input data, steps, expected results
Example 2. The black box test design method used: Equivalence partitioning method, boundary value method, method determination table, a causal diagram, state transition diagram, scene, orthogonal experiment, error guessing method
3. equivalence partitioning method:
Equivalence class: in all the test data, a subset of data having certain characteristics in common
Effective equivalence classes: equivalence class in line with demand
Invalid equivalence classes: equivalence class does not meet the needs of
Equivalence classes of test design steps: analysis of requirements, determines the type of input data - the use of regularly divided valid and invalid equivalence class equivalence class - test cases cover the effective equivalence class - covered invalid equivalence class test cases
Points to note: a test case to cover all equivalence classes of possible active, a test may cover only a valid equivalence class
4. Method boundary value:
Boundary value: select exactly equal, just greater than, or just less than the boundary value of the data as the test data
On point: the point on the boundary
From the point: the nearest point from the border
Interior Point: point within the effective range of
Step boundary value test cases: analysis requirements, determines the type of input data - the determined points, from the point, the point - test cases cover the effective equivalence class - covered invalid equivalence class test cases
4. The method determination table:
Conditions pile: the input conditions
Action pile: results
Condition: the value of the whole combination of input conditions
Action item: All the results corresponding to the condition items
Rule: A set of combinations of conditions and actions, a rule corresponding to a test case
Step determination table of test case design method: analysis requirements define conditions pile, pile operation - Design determination table (full compositions) - Fill action items - simplified determination table (the same result, only a different condition, it can be combined into a rule) - extraction test (a test corresponding to a rule)
5. FIG cause Method:
FIG Causality: considering relations and mutual constraints between all combinations of input / output, considering the dependencies between all the input conditions, then analyzed according to the relationship determined by the table conversion process
Determination table: After analyzing the operation conditions of the pile and the pile, the whole obtained by combining Condition
FIG Causality: cause and effect analysis, consider the relationship between the conditions and conditions, conditions and results, and then converted to the determination table
FIG test case design step Causality: analysis requirements define conditions pile, pile operation - the relationship between the analysis conditions and conditions, conditions and results - the relationship shown in FIG cause - by drawing to a cause determination table
6. Method state transition diagram
A state transition diagram: first identify all the states, and transition condition then analyze conversion paths between each state and state transition in terms of its design to cover the test path
A state transition diagram case design steps of: determining the status of all points - drawing state transition diagram - shown a state transition tree - extraction path case design
7. scenario method
Scene: almost all the software used to control the flow of events is triggered, the scene when they formed a triggering event scene, and the same event, different firing order and processing results will form the flow of events
Scene design test method steps: analysis requirements, the base stream and alternative streams - forming the scene based on the basic stream and alternative streams - The scene design test