Test Design

  • Decide which level to test to
  • Identify setup and tear down routines
  • Decide on and incorporate a testing framework
  • Identify and incorporate a CI framework
  • Decide what criteria to use for evaluation
  • Decide the stopping criteria
  • Decide the interface to test to (what is internal?)

Writing effective test cases

  • Effective test cases
    • Reveal defects in the unit if there is any
    • Document the software behaviour (prevent regressions)
    • Reflect the design intent of the software
  • Design two types of test case
    • Positive - The system works when given normal data
    • Negative - The system does not fail when given unexpected data

Test execution

  • Choose which test cases to run (Test prioritisation/selection)
  • Decide a passing criteria (X% of the test cases pass)
  • Compare results and publish test reports

Back to parent page: Software Testing

Web_and_App_Development Software_Testing Software_Validation SOFT3202 Test_Suites