Software testing foundations
What testing is for. Then the first two test design techniques a tester learns: equivalence partitioning and boundary value analysis, with practice on one everyday app.
- What testing is forTesting is tasting the soup before you serve it. It finds problems and gives the team true facts, but it cannot prove that nothing is wrong.
- Mistakes, defects and failuresAn error is a human action, a defect is a flaw in the work, and a failure is an observed wrong result. Reviews can find defects before execution; finding causes reduces repeats.
- Testing in the life cycle (plan, build, test, release)Testing can begin with requirements and design, continue through builds and return after release. Early checks can avoid later rework; impact and risk guide checks after change.
- The test process, step by stepThe selected syllabus groups testing into seven overlapping activities: planning, control, analysis, design, implementation, execution and completion. Teams tailor them.
- Five test levels: parts, systems and acceptanceFive selected test levels group work by objective and test object: component, integration, system, system integration and acceptance. They overlap; size does not define them.
- Test types: functional, non-functional, black-box and white-boxSeparate what is evaluated from how tests are derived. Four overlapping perspectives can apply at different levels; confirmation and regression describe purposes after a change.
- Writing test conditions and test casesIdentify what to check from a trustworthy basis, then specify cases with setup, data, actions, expected results and postconditions. Record unresolved rules; do not invent any.
- Equivalence partitioningGroup data by expected equivalent processing, exercise representatives and state the coverage goal. One value per partition covers that model, not every implementation fault.
- Boundary value analysisDeclare the ordered domain and partitions, then combine coverage items from every boundary. An upper-limit pair is useful but may omit domain endpoints or three-value neighbours.
- Decision table testingModel condition combinations and actions, separate feasible rules from open questions, and report full or minimized coverage. A covered table does not prove the rules are complete.
- State transition testingUse a reviewed state and event model to pick sequences, valid moves and invalid attempts. State the coverage goal and expected refusals; a missing arrow does not prove invalidity.
- Exploratory testing and error guessingLearn, design, execute and evaluate together; use experience to choose useful experiments. A charter, timebox and notes can structure the work without defining every activity.
- Reviews and static testingStatic testing examines work without running the product. People review it or tools analyse it. Reviews can uncover flaws early and help people agree what the work should mean.
- Writing a defect report: severity and priorityA defect report helps people investigate a problem and decide what to do. Record steps, context, expected and actual results, evidence and doubt. Severity is not priority.
- Acceptance tests from examplesAgree examples of what the software should do before it is built, and turn each example into a test.
- Risk-based test planningThere is never time to test everything. List what could go wrong, judge how likely and how harmful each thing is, and test the biggest risks first.
- How the project and context shape testing: sequential, iterative and incremental modelsThe same feature is tested in different ways in different projects. Learn the sequential, iterative and incremental models and the context factors that shape the test plan.
- The STLC: phases, entry and exit criteria and deliverables, and how it fits each software development life cycle (SDLC) modelLearn a six-phase STLC teaching convention, its entry and exit criteria and deliverables, and how it relates to the seven test-process activities and different development models.