ISTQB CTFL
White-box, experience-based and collaborative approaches
Easy
White-box test techniques
- What are the coverage items in statement testing?
- What does 100% statement coverage guarantee?
- What is a branch in the sense of branch testing?
- What is the relationship between branch and statement coverage?
- What strength do white-box techniques have?
Experience-based test techniques
- What is error guessing based on?
- What is a fault attack?
- What characterises exploratory testing?
- What does a test charter contain in session-based testing?
- How are checklist items often phrased?
- What should a checklist not contain?
- When is exploratory testing particularly useful?
Collaboration-based test approaches
- What do the "3 C's" of a user story stand for?
- What is the usual format of a user story?
- What does the T in INVEST stand for?
- What are the acceptance criteria of a user story?
- Which two formats for acceptance criteria are most common?
- What does ATDD start with?
- Which test cases are typically created first in ATDD?
- What is one purpose of acceptance criteria?
Medium
White-box test techniques
- Which defects does a test with 100% statement coverage not necessarily find?
- How is statement coverage calculated?
- Which are examples of conditional branches?
- Which defects does 100% branch coverage not necessarily find?
- Which statements about the value of white-box testing are correct?
Experience-based test techniques
- Which areas does error guessing typically target?
- Where can lists for fault attacks come from?
- Which elements does session-based exploratory testing have?
- Which statements about exploratory testing are correct?
- Why should checklists be updated regularly?
- What is a consequence of high-level checklists?
- Which tester qualities make exploratory testing particularly effective?
Collaboration-based test approaches
- Which perspectives are brought together in collaborative user story writing?
- A stakeholder has no idea how a user story could be tested. What might that indicate?
- Which purposes do acceptance criteria serve?
- May a team use its own format for acceptance criteria?
- In which order are test cases typically developed in ATDD?
- Which statements about ATDD test cases are correct?
- What do ATDD test cases become when captured in a format supported by an automation framework?
- How do collaborative approaches differ from the other test techniques?
Hard
White-box test techniques
- A function contains two independent decisions without else branches: "if voucher, then lower price" followed by "if new customer, then send welcome mail". What is the minimum number of test cases for 100% statement coverage?
- For the same function with the two independent decisions without else branches, 100% branch coverage is to be achieved. What is the minimum number of test cases?
- Code: "if member, then (if turnover > 1000, then discount 10% else discount 5%) else no discount". What is the minimum number of test cases for 100% branch coverage?
- A function "if quantity > 0, then price = total / quantity" is tested with quantity 4 and reaches 100% statement coverage. Later it crashes because the condition in the code wrongly reads "quantity >= 0". Which statements are correct?
- A requirement calls for an age check when buying energy drinks, but the developers forgot it. The tests achieve 100% branch coverage. What does this case show?
- A test suite achieves 100% statement coverage but only 70% branch coverage. Which statements are possible?
- A developer walks through a function that does not run yet on paper using its control flow graph to see whether every branch is reachable. How should this be classified?
- The control flow graph of a function has 12 branches, 4 of them unconditional. The tests exercise all unconditional branches and 5 of the conditional ones. What is the branch coverage?
Experience-based test techniques
- A tester knows that similar forms had problems with umlauts in names, very long email addresses and double submission, and tests exactly these cases. Which technique is she using?
- There are hardly any requirements for a new photo editing app, and the release is in three days. Which approach fits best?
- After a 90-minute exploratory session the tester discusses his findings with the product owner and developer. Which statements are correct?
- A team checks a website's usability against a list of recognised heuristics. Which statements are correct?
- A checklist for code checks contains: "Does the build run without warnings?", "Is the software good?" and "Are all inputs checked for length?". Which items are unsuitable?
- Why do experience-based techniques complement black-box and white-box techniques?
- A team plans a 60-minute exploratory session on the returns feature of an online shop. What belongs in the test charter?
Collaboration-based test approaches
- Which acceptance criteria are written in a rule-oriented way?
- The story "As a user I want the whole portal to become faster and nicer" is discussed in refinement. Which INVEST properties does it violate most clearly?
- A team uses ATDD to develop the story "customer can book a garage appointment online". Which steps match the approach?
- In ATDD test cases are written for a story. Which test techniques may be used?
- Which assignment to the "3 C's" is correct for a story on a digital board?