A program passing every test in its current test suite does not prove the program has no defects, and 90% code coverage does not mean that 90% of possible bugs have been found. Polytechnic Software Engineering and Computing students need to distinguish unit test, integration test, system test, acceptance test, regression test, smoke test, test case, expected result, test coverage, defect severity and defect priority. Each term concerns a different test objective, scope or decision. A well-written test can detect a particular failure under specified conditions, but it cannot automatically prove behaviour for every possible user or input.
Start with a fictional college room-booking app that has two rules: no double booking and only authorised staff may cancel a reservation. Ask whether a test checks one calculation, the database interaction, a complete user journey or satisfaction of a business requirement. The official ISTQB Glossary provides standard testing terminology, and its Certified Tester Foundation guidance explains how syllabi and glossary concepts are used. pytest’s assertion documentation illustrates how an expected result is checked. This is a learning exercise, not a request to modify live institutional software.
- Test levels: unit, integration, system and acceptance testing examine different scopes and objectives.
- Regression: rechecks previously working behaviour after changes, not necessarily only the code just edited.
- Coverage: tracks specified exercised elements or requirements; it is not a probability that a system is correct.
- Severity versus priority: impact of a defect differs from the urgency of fixing it.
- Test evidence: preconditions, inputs, expected and observed results, version and reproducibility matter.
- Four-week plan: write fictional cases, compare layers, evaluate coverage and report an independent defect.
The parent question is “What requirement was being tested, under which conditions, what result was expected, and what does this pass or failure actually demonstrate?” That is the starting point for reliable software quality reasoning.
eduKate English learning video. Continue for fictional software tests, four-week learning, parent FAQs and standard references.
Full article index
- 1. Testing and debugging are different activities
- 2. A requirement defines intended behaviour
- 3. Test case means more than one input
- 4. A test oracle tells us what should happen
- 5. Unit testing targets a component
- 6. Integration testing checks interactions
- 7. System testing examines an integrated product
- 8. Acceptance testing considers user or business needs
- 9. End-to-end testing follows a complete journey
- 10. Test level and test type are not synonyms
- 11. Functional tests check specified behaviour
- 12. Nonfunctional testing asks other questions
- 13. Smoke testing is a quick confidence check
- 14. Regression testing protects existing behaviour
- 15. Confirmation testing rechecks a particular fix
- 16. Original fictional double-booking defect
- 17. A useful defect report is reproducible
- 18. Severity describes impact
- 19. Priority describes scheduling urgency
- 20. A passed test is not proof of no defects
- 21. Code coverage measures exercised elements
- 22. Statement and branch coverage differ
- 23. A fictional coverage calculation
- 24. Requirements coverage uses another denominator
- 25. Edge cases deserve explicit design
- 26. Concurrency creates a different failure mode
- 27. Mocks and stubs have a limited role
- 28. Test data must be appropriate and authorised
- 29. Environment differences can hide bugs
- 30. CI is a workflow, not an automatic quality guarantee
- 31. Flaky tests weaken confidence
- 32. Release decisions need risk and acceptance evidence
- 33. AI-generated tests still need an oracle
- 34. Parents can ask one concrete question
- 35. Four-week software QA vocabulary plan
- Week 1 — Write one test case and oracle
- Week 2 — Separate testing levels
- Week 3 — Explain regression and coverage
- Week 4 — Transfer independently
- 36. Learning progression to university and adult engineering
- 37. Questions parents frequently ask
- Does 90% coverage mean 90% of bugs were caught?
- Are unit tests and integration tests the same?
- Is regression testing only retesting the bug just fixed?
- Does a high-severity bug always have the highest priority?
- Does a green CI result mean the product is ready to ship?
- Can parents help without writing code?
- 38. Sources and connected reading
- Parent takeaway
1. Testing and debugging are different activities
Testing involves evaluating a component or system and comparing observed behaviour with specified expectations, potentially revealing defects. Debugging investigates and changes the causes of observed failures. A developer can fix a bug but still need appropriate retesting to demonstrate the correction. The ISTQB glossary separates test and defect vocabulary so teams can communicate precisely. Students should not call every code edit a test or every failing assertion a confirmed root cause.
2. A requirement defines intended behaviour
A requirement states what a system should do or what quality condition it should satisfy. A test case checks an observable consequence of that requirement under defined preconditions. If a college booking policy says a room cannot have overlapping approved reservations, the learner can state the relevant expected behaviour clearly. A vague requirement such as “the app should be good” does not supply a reproducible oracle for a specific test.
3. Test case means more than one input
A useful test case specifies objective, preconditions, input or action, expected outcome and any relevant environment or version. The observed outcome and pass/fail status can then be recorded independently. A screenshot of a successful page load does not necessarily show the expected business rule was checked. Students should explain which fact the test establishes and which potentially important situations were not examined.
4. A test oracle tells us what should happen
A test oracle is a source or method for determining expected results, such as a specification, validated calculation or appropriate business rule. For a booking app, the oracle may be an authorised rule on overlapping reservations, not merely the current software’s behaviour. Testing code against its own incorrect assumption can produce reassuring but meaningless passes. Students should distinguish independent expected behaviour from copying what the program happened to output.
5. Unit testing targets a component
A unit or component test examines a small piece of software within a defined boundary, such as a price calculation or eligibility function. It can run independently of a real database when dependencies are suitably substituted. The term does not mean the test itself is trivial. A well-designed unit test includes meaningful examples, edge cases and clear expected results. Its success does not prove the complete system’s database and user interface work together.
6. Integration testing checks interactions
Integration testing evaluates how software components or systems exchange data and coordinate behaviour. A booking form can correctly validate dates in isolation yet fail to save the reservation to a database. An integration test might address that interaction. The ISTQB test-level reference distinguishes component tests from integration and system testing. Students should identify the actual interface or dependency being checked.
7. System testing examines an integrated product
System testing evaluates the integrated system against relevant requirements and quality properties. It can cover functional and nonfunctional aspects, depending on scope. Testing a complete booking workflow may involve identity, front end, service and database components. But testing one happy-path journey does not prove every combination of accounts, conflicts, devices or failure modes. A student should report test scope honestly rather than equate the term system with complete verification.
8. Acceptance testing considers user or business needs
Acceptance testing evaluates whether a delivered system meets specified acceptance criteria, user needs or business processes. It differs in purpose from a developer’s unit calculation even when both run automated scripts. An authorised staff representative may need to review that booking rules match actual policy. Acceptance may still be conditional and does not replace legal or security requirements. Students should name who has authority to accept and which criteria are in scope.
9. End-to-end testing follows a complete journey
An end-to-end test exercises a user workflow across real or suitably representative components. For example, an authorised fictional user signs in, books a room and sees the reservation in a schedule. It can detect integration errors missed by isolated tests, but it is often slower and more dependent on environmental stability. One E2E test is not proof of every hidden rule. Students should not label a single page click an end-to-end transaction.
10. Test level and test type are not synonyms
Unit and system describe levels or scopes, while functional, performance, security, usability and other labels describe test objectives or types. A functional test can be executed at several levels. The ISTQB taxonomy helps students avoid treating test levels as a single ladder from simple to good. The relevant quality question should determine the test design rather than a fashionable acronym.
11. Functional tests check specified behaviour
Functional testing concerns what the product is supposed to do under selected conditions. A booking app might prohibit overlapping approved bookings or calculate a cancellation window. A test can pass for one user and fail for another because permissions differ. Students should state the actual rule and its inputs rather than merely click around and describe the result as functional testing completed.
12. Nonfunctional testing asks other questions
Performance, accessibility, reliability, security and maintainability concern qualities beyond a feature’s direct functional output. A booking app can create reservations correctly yet become too slow under peak traffic or unusable with certain assistive technologies. Those are still meaningful quality failures. The eduKate UX and accessibility guide develops the distinction between a feature existing and being usable by its intended audience.
13. Smoke testing is a quick confidence check
A smoke test is commonly a limited set of high-level checks used to decide whether a new build is sufficiently stable for deeper testing. Passing smoke tests does not establish readiness for production or compliance with all acceptance criteria. The selected checks should reflect critical functions under the team’s workflow. A student should identify the release stage and expected coverage rather than announce that every part of the system is tested.
14. Regression testing protects existing behaviour
Regression testing repeats appropriate tests after a code or environment change to detect unwanted changes in previously working functions. It is not only a retest of the exact function edited. A change to room booking could unexpectedly affect cancellation notifications or access checks. The ISTQB glossary distinguishes regression testing from confirmation testing after a fix. Students should explain what risk prompted each regression case.
15. Confirmation testing rechecks a particular fix
Confirmation testing repeats a relevant test to determine whether a known defect has been corrected. Regression testing then looks for unintended effects on other working behaviour. Both can occur after one repair, but they answer different questions. The student should not assume that fixing the immediate bug means no other features were affected. A clear report records confirmation and broader regression evidence separately.
16. Original fictional double-booking defect
Imagine a college app allowing two approved reservations for the same room and overlapping times. The policy says overlaps must be rejected. A test creates booking A from 10:00 to 11:00 and then attempts booking B from 10:30 to 11:30 for the same room. If both become approved, the observed state violates the stated oracle in this fictional scenario. No real application or account is involved.
17. A useful defect report is reproducible
A responsible bug report includes application version, initial state, user role, steps, expected behaviour, actual result and supporting evidence. The invented double-booking case should say which room, two time intervals, permission level and response states were used. A screenshot of two bookings without a reproducible method may be insufficient to diagnose the failure. The polytechnic technical reporting guide explains that conclusions must be traceable to evidence.
18. Severity describes impact
Severity expresses how serious a defect’s effect is under the product’s context. A software fault that leaks confidential records could have severe consequences, while a layout inconsistency may have limited functional impact. The actual scale and terminology vary by organisation. Students should explain the affected users, scope and consequence rather than label every defect critical merely to attract attention from developers.
19. Priority describes scheduling urgency
Priority concerns how soon a team should address an issue relative to other work, risks and constraints. A visibly minor error on a high-profile launch page may receive high business priority even if technically low severity. A serious rare defect may require careful urgent security handling rather than ordinary scheduling. The two labels can correlate but are not synonyms. A student should name the criteria used by the team.
20. A passed test is not proof of no defects
Testing samples selected behaviours and input combinations. A passing suite shows the specified checks passed in the tested environment under relevant conditions, not that all possible bugs have been eliminated. The student must avoid interpreting “100 tests passed” as “the product is 100% correct”. Tests can also contain flawed expectations and can miss bugs in untested paths. The evidence is bounded by the suite’s design.
21. Code coverage measures exercised elements
Code coverage may measure the proportion of statements, branches, conditions or other defined structures executed by tests. These are distinct metrics. A project can have 90% statement coverage while important boundary behaviour remains unchecked. Coverage shows what was exercised, not whether assertions were meaningful or whether defects were detected. The ISTQB terminology treats coverage measures as defined testing evidence, not defect-discovery probabilities.
22. Statement and branch coverage differ
Statement coverage concerns execution of selected statements; branch coverage concerns possible control-flow outcomes. A simple conditional can have its true branch executed without checking the false outcome. A student should identify the relevant code structure when presenting percentages. High statement coverage does not automatically imply complete branch coverage or correct input validation. A report should not label an arbitrary line count as full logic coverage.
23. A fictional coverage calculation
Suppose a small invented program has 20 executable statements under a given instrumentation rule, and the test suite executes 18. Its statement coverage is 18 ÷ 20 = 90%. This does not mean 90% of business requirements are met or that 90% of defects have been found. The student should also ask whether important assertions were made and whether the two unexecuted statements protect critical failure paths.
24. Requirements coverage uses another denominator
Requirements coverage can track the share of identified requirements addressed by tests under a specified mapping. A suite that covers twenty out of twenty listed requirements may still have missed a requirement that was never documented. Students should distinguish inventory completeness from testing thoroughness. A percentage only makes sense when the counted items are clearly defined and the test evidence is meaningful.
25. Edge cases deserve explicit design
Boundary conditions such as zero bookings, back-to-back time slots, expired sessions and simultaneous requests may expose problems that ordinary happy-path examples miss. A student should formulate the expected rule and suitable fictional inputs before claiming a test handles edge cases. The objective is not to generate thousands of random numbers, but to choose examples that challenge meaningful assumptions.
26. Concurrency creates a different failure mode
Two users may submit requests for the same resource at almost the same time. Each isolated check could pass while the combined system permits double booking if coordination is inadequate. This is an integration or system-behaviour concern requiring suitable engineering tests. Students should distinguish a single sequential test from a concurrency scenario. Never stress-test a real institutional service without explicit authorisation.
27. Mocks and stubs have a limited role
A mock or stub can replace a dependency in a test to isolate behaviour or simulate a controlled response. Such substitutions make tests faster or more predictable but cannot prove the real dependency will behave identically. A service that passes mocked database tests may fail when connected to the actual database. Students should identify which components were real and which simulated, and what additional integration evidence would be required.
28. Test data must be appropriate and authorised
A good school test uses fabricated names, booking records and permissions rather than classmates’ private account data. Production information may have confidentiality and regulatory constraints. Students should never copy live tokens, passwords or real user records into public repositories to create a realistic example. The cybersecurity vocabulary guide explains access risk and the difference between security testing and unauthorised system access.
29. Environment differences can hide bugs
A test that passes locally may fail on the school’s actual server because of configuration, database versions, network access or identity services. That does not prove the developer was dishonest; it shows the test environment was incomplete or different. Students should document operating system, application version, dependencies and relevant settings. A result that cannot be reproduced without hidden environmental assumptions is weak evidence.
30. CI is a workflow, not an automatic quality guarantee
Continuous Integration can run configured checks after code changes, but a green pipeline means only that its defined jobs passed or were permitted to finish. It does not guarantee the tests were well designed. A student should inspect which tests ran, whether any were skipped and what artifact was produced. The same principle applies to AI agent tool execution: reported success must correspond to actual permitted work.
31. Flaky tests weaken confidence
A flaky test produces inconsistent outcomes without an intended change to the behaviour under test. Timing, shared state, uncontrolled randomness and environment conditions may contribute. Students should investigate the cause rather than automatically rerun the test until it passes and then discard the failure. A stable test suite is a measurement system; failures in measurement can obscure defects in the software itself.
32. Release decisions need risk and acceptance evidence
A product can pass its automated tests yet still require user acceptance, accessibility checks, security review or deployment approval. The responsible institution defines those gates. A student should not claim that merging code or seeing a green build permits deployment to every live user. The right conclusion records which tests were performed, open defects, residual risks and remaining authorised decisions.
33. AI-generated tests still need an oracle
A language model can propose test cases and code, but the generated expected results may repeat the implementation’s own misunderstanding. Students should verify the intended specification, inputs and outputs independently. A plausible generated test can pass for the wrong reason. The eduKate RAG guide addresses evidence and source faithfulness, while human review remains essential for test design.
34. Parents can ask one concrete question
Choose the fictional double-booking rule and ask which test checks the time comparison alone, which checks the persistence interaction and which checks the full user journey. Then ask what an acceptance reviewer would still need to confirm. This discussion requires no programming credentials or access to live systems. The goal is to make test purpose and evidence intelligible.
35. Four-week software QA vocabulary plan
Use a paper-based booking app and small fabricated test tables. Begin with a requirement and unit cases, add integration and regression after a change, then interpret coverage and defect labels. The final task should be a new unfamiliar scenario rather than another memorised definition. The learner should distinguish test results from release authority.
Week 1 — Write one test case and oracle
Describe the rule against overlapping bookings and write a fictional input with times, user roles, expected rejection and observed result. Explain how a unit-level time rule differs from the full app workflow.
Week 2 — Separate testing levels
Read four imagined test descriptions and identify component, integration, system and acceptance tests. State which dependency or user requirement each one checks and what it cannot establish.
Week 3 — Explain regression and coverage
Use a fictional fix to cancellation logic. Propose confirmation and regression checks, then interpret 18/20 = 90% statement coverage without claiming that ninety percent of bugs have been found.
Week 4 — Transfer independently
Provide a new teacher-approved issue involving a login or booking rule. Ask the teenager to write a reproducible defect report, assess impact and urgency separately and identify the remaining release checks.
36. Learning progression to university and adult engineering
Young children learn instructions, fair turns and what happens when a rule is broken. Primary 1–6 and PSLE reading develop conditional language and evidence; Secondary Computing introduces logic and program behaviour. Polytechnic QA formalises tests, acceptance, coverage and reliability. University and professional engineering add risk-based evaluation, automation, security and governance. The developmental connection is precise expectations, not operating real production systems.
37. Questions parents frequently ask
These answers explain software testing vocabulary rather than assess a real application or certify its safety.
Does 90% coverage mean 90% of bugs were caught?
No. Coverage reports what defined elements were exercised, not the percentage of undiscovered defects eliminated.
Are unit tests and integration tests the same?
No. Unit tests focus on components; integration tests evaluate interactions across specified boundaries.
Is regression testing only retesting the bug just fixed?
No. Confirmation checks the particular fix; regression testing checks for unintended changes in existing behaviour.
Does a high-severity bug always have the highest priority?
Not automatically. Severity reflects impact, while priority reflects urgency under relevant business and risk decisions.
Does a green CI result mean the product is ready to ship?
Not necessarily. Only the configured tests ran, and other reviews or approvals may still be required.
Can parents help without writing code?
Yes. A fictional booking rule, test-case table and evidence-based explanation are sufficient to practise the terminology.
38. Sources and connected reading
Use the official ISTQB Glossary and Foundation guidance, plus pytest’s assertion documentation for examples of test checks. Continue to API documentation and failures, cybersecurity, usability testing and AI-agent execution evidence. All test cases and apps are fictional.
Parent takeaway
Ask what requirement a test addresses, which environment and conditions it used, what actually happened, and what meaningful behaviour remains untested. That is the vocabulary of software quality rather than wishful assurance.
