CSE 321 Software Quality Assurance and Testing (3 credits)

Catalog description:

Quality: how to assure it and verify it, and the need for a culture of quality. Avoidance of errors and other quality problems. Inspections and reviews. Testing, verification and validation techniques. Process assurance vs. Product assurance. Quality process standards. Product and process assurance.  Formal verification. Statistical testing.

Prerequisite:

CSE 201

Required topics (approximate weeks allocated):

  • Introduction to software quality assurance (1 week)
    • Terminology: verification, validation, testing
    • Psychology of testing
    • Coverage criteria
  • Inspections and reviews (1 week)
  • Testing Techniques: graph-based (4 weeks)
    • Graph coverage criteria: structural coverage
    • Graph coverage criteria: data flow coverage
    • Graph coverage of source code: structural and data flow
    • Graph coverage of design elements, specification, and use cases
  • Testing Techniques: logic-based (2 weeks)
  • Testing Techniques: input space partitioning (2 weeks)
  • Testing Techniques: syntax-based (2 weeks)
  • Regression testing (0.5 weeks)
  • Test plans (0.5 weeks)
  • Testing of object-oriented and web-based software (1 week)
  • Model checking (1 week)
    • State models
    • Properties: liveness, safety

Course Outcomes

1: Design and implement Test Plans and Procedures.

1.1: Students can design comprehensive test plans.

1.2: Students can create test procedures.

1.3: Students can evaluate the results of tests.

1.4: Students can assess a software process to evaluate how effective it is at promoting quality.

2: Apply a wide variety of testing techniques at various testing levels.

2.1: Students differentiate the purposes and applicable techniques among the various levels of testing: unit, integration, system, acceptance, usability, and regression testing.

2.2: Students can conduct effective and efficient inspections.

2.3: Students can explain and apply graph coverage criteria for structural coverage.

2.4: Students can explain and apply data flow coverage and logic coverage.

2.5: Students can explain and apply input space partitioning.

2.6: Students can explain and apply mutation testing.

3: Use test tools to effectively test software.

3.1: Students can use Junit.

4: Computer and use various testing metrics.

4.1: Students can compute test coverage and yield, according to a variety of criteria.

4.2: Students can use statistical techniques to evaluate the defect density and the likelihood of faults.