Slides 21 - Data Flow based Testing Flashcards
Data flow testing
Data flow testing is a family of test coverage criteria to select paths through the program’s control flow in order to explore sequences of events related to the status of variables or data objects.
Data flow testing is testing technique in which test cases are designed to execute definition-use pairs of variables
Data Flow Test Coverages
● all-p-uses
● all-c-uses
● all-c-some-p-uses
● all-p-some-c-uses
Software Examinations
● Define implicit quality criteria
● Define conditions development artifacts should fulfill
● Show collective and individual weaknesses of the examinees
● Determine extremely good and bad examinees
Review
A review is the examination of an examinee
● against requirements and guidelines
● with the objective of identifying defects but also to highlight positive aspects
Roles during Review
● Moderator
● Author
● Minute taker
● Reviewer
● Review Team
● Manager
What should be examined?
Artifacts, created for customer or user.
● requirements, acceptance tests, manuals
Artifacts, defining important interfaces
● system design, component interface
Risky artifacts
● done the first time (new technology, method)
● produced by a new colleague
Investment – Rule of thumb
● 5 reviewers for documents
● 3 reviewers for code
Advantages Review
● The procedure retains the advantages of technical reviews because the author compensates the missing (or little) preparation of the reviewers
● During the preparation, the author discovers many mistakes
Drawback Review
● There is no clear separation of responsibilities (planning, release).
● The revision is not examined again.
● The preparation time is “stolen”.
● The efficiency is lower.
Advantage reviews than tests
● Mistakes are found directly
● Only the effect of the defect is noticeable in a test
● The defect has to be discovered by debugging