Docsity

CMPE 187 LECTURE 6 - TESTING TECHNIQUES, Exams of Social Sciences

Toggle sidebar
bg1
CMPE 187: LECTURE 6 - TESTING TECHNIQUES
Review Decision Table
What is decision table-based testing? - Answer -It is a black-box testing method that
mainly focuses on validating business rules, conditions, constraints, necessary parts of
the software.
What is Cause-Effect Graphing? The advantages? - Answer -A requirement-based test
design method. It is just a pictorial representations of business logic shown in the
decision table. It represents the relationships between the causes and effects with 2
type of nodes (cause and effect) that have a true of false connection
Advantages: It derives the minimum # of test cases to cover 100% functional
requirements to improve the quality of test coverage.
What does cause-effect graphing have the ability to do? - Answer -1. Detect defects
that cancel each other out
2. Detect defects hidden by other things going right
Review how to convert a cause-effect graph into a decision table - Answer -
Review Cause-Effect Graphing - Answer -
What is the process to generate test cases using cause-effect graphing? - Answer -1
.Generate a cause-effect graph based on functional requirements
2. Convert the graph into its corresponding decision table
3. Identify and generate test cases based on the decision table
How is test complexity measured in decision table? - Answer -The test complexity will
be based on the # of columns there is in the decision table
How is coverage measured in decision table? - Answer -Coverage is measured through
the lines connecting causes to effects, which has the same result of covering every
column in a decision table.
Review cause-effect graphing example - Answer -
Why is cause-effect graphing a very effective function test method? - Answer -1. It
provides 100% functional requirement coverage for your functional testing.
2. It can be very easily automated in test analysis and design as well as test complexity
analysis and planning.
3. It is easy for engineers to conduct step-by-step test requirement analysis and design
to achieve function requirement coverage
4. It is easily used in model-based testing and automation
pf3
pf4
pf5

Partial preview of the text

Download CMPE 187 LECTURE 6 - TESTING TECHNIQUES and more Exams Social Sciences in PDF only on Docsity!

CMPE 187: LECTURE 6 - TESTING TECHNIQUES

Review Decision Table What is decision table-based testing? - Answer - It is a black-box testing method that mainly focuses on validating business rules, conditions, constraints, necessary parts of the software. What is Cause-Effect Graphing? The advantages? - Answer - A requirement-based test design method. It is just a pictorial representations of business logic shown in the decision table. It represents the relationships between the causes and effects with 2 type of nodes (cause and effect) that have a true of false connection Advantages: It derives the minimum # of test cases to cover 100% functional requirements to improve the quality of test coverage. What does cause-effect graphing have the ability to do? - Answer - 1. Detect defects that cancel each other out

  1. Detect defects hidden by other things going right Review how to convert a cause-effect graph into a decision table - Answer - Review Cause-Effect Graphing - Answer - What is the process to generate test cases using cause-effect graphing? - Answer - 1 .Generate a cause-effect graph based on functional requirements
  2. Convert the graph into its corresponding decision table
  3. Identify and generate test cases based on the decision table How is test complexity measured in decision table? - Answer - The test complexity will be based on the # of columns there is in the decision table How is coverage measured in decision table? - Answer - Coverage is measured through the lines connecting causes to effects, which has the same result of covering every column in a decision table. Review cause-effect graphing example - Answer - Why is cause-effect graphing a very effective function test method? - Answer - 1. It provides 100% functional requirement coverage for your functional testing.
  4. It can be very easily automated in test analysis and design as well as test complexity analysis and planning.
  5. It is easy for engineers to conduct step-by-step test requirement analysis and design to achieve function requirement coverage
  6. It is easily used in model-based testing and automation

What are some limitations of cause-effect graphing? - Answer - 1. It requires high quality requirement documentation and verification

  1. To assure requirements are testable, measurable, correct as well as complete
  2. It can't achieve a. Component/system behavior-related test coverage b. Component/system boundary, load, and capacity related test coverage c. User-oriented operation pattern and workflow test coverage What is scenario-based testing? - Answer - It is a type of simple black-box testing activity that is designed to validate software products based on user-oriented scenario tests. They are base on a hypothetical scenario story in a user view. Before they are applied a software user-oriented scenario analysis and documentation must be done but they can be applied in system validation or acceptance test levels. What is scenario? - Answer - A specific sequence of action and interactions between users and the system under discussion. A step-by-step description of a function that a system must perform which mainly focuses on a specific system pattern to use and can be defined in an informal (UML text test cases) of formal way (UML sequence diagram). What is the process to convert from use case to scenario testing? - Answer - •Because use cases may be too high level to derive test cases, we need to transform a use case into scenarios and then form a scenario to thin threads and finally from thin-threads we can make test cases. •Use cases àscenarios àthin-threads àtest cases (scenario tests) What is a thin-thread? - Answer - a complete trace(E2E) of data/message using a minimally representative sample of external input data transformed through an interconnected set of system (architecture) to produce a minimally representative sample of external output data. What are the 7 characteristics of an ideal scenario? - Answer - 1. Based on a story how the program is used
  3. Motivating so that stakeholder will still push to fix program even if failed test
  4. Credible to make stakeholders see that it could possibly happen
  5. Complex use, environment or set of data
  6. Easy to evaluate test results What are the advantages and benefits of scenario-based testing? - Answer - 1. Cover all user-oriented system functional requirements in a user view
  7. Easily trace back to system/software requirements
  8. Expose failures to deliver desired benefits
  9. Make sure to explore the expert use of the software

What does concurrency mean in state chart? - Answer - Concurrency refers to the ability to manage more than one state simultaneously. What is Defect-Based testing? - Answer - Given a list of defects you expect to see, create test cases that reveal the presence of these defects. For defect-based testing starts with an organized and hierarchical list of expected defects called "taxonomy" What are defect taxonomies? - Answer - They are actual observed defects that make the best taxonomies •Hypothetical defects can be used by making educated guesses To make a taxonomy start at the highest level of abstraction and work down to a specific defect types What are some examples of taxonomies? - Answer - 1.Input validation

  1. Root-cause-focus
  2. Symptom-focused Review examples of type of taxonomies - Answer - What is experience based? - Answer - Takes many forms and refers to a type of testing that utilizes the testers skills, intuition, and experience What is Error Guessing? - Answer - A test design technique where the experience of the tester is used to anticipate what defects might be present in the component or system under test as a result of errors made, and to design tests specifically to expose them. This is called the GRAY-BOX test and can be used at any test level What is checklist-based? - Answer - An experience-based test design technique whereby the experienced tester uses a high-level list of items to be noted, checked, or remembered, or a set of rules or criteria against which a product has to be verified. Can be used at any test level but the tester must have a good experience and be able to translate checklist to test cases. What is exploratory? - Answer - An informal test design technique where the tester actively controls the design of the tests as those tests are performed and uses information gained while testing to design new and better tests. But documentation must be done well or else coverage and reproduction will be an issue. usually done during a system test and sometimes acceptance test

What is the underlying bug hypothesis for exploratory? - Answer - The system will reveal buggy areas during test execution that would be hidden during test basis analysis. What is the underlying bug for checklist based? - Answer - Bugs in the area of the checklist are either likely, important, or both