NotesB.Sc ITSoftware Testing and Quality Assurance
BSIT602

Software Testing and Quality Assurance Notes

Program:B.Sc IT
Semester:Semester 6
Credits:5
Units:4 Units

Subject Overview

Software Testing and Quality Assurance covers testing principles and test management, software metrics and quality assurance concepts, comparative evaluation of testing tools and object-oriented testing, and quality management standards including CMM. A 5-credit core theory paper.

Unit-wise Syllabus

4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Errors/faults/defects/failures
  • unit/integration/system/regression/alpha/beta/acceptance testing
  • functional/performance/recovery testing
  • white-box and black-box testing
  • testing life cycle
  • test planning
  • black-box design strategies (random testing, equivalence class partitioning, boundary value analysis)
  • white-box test adequacy criteria
  • defect tracking and analysis
ProcessError, fault and failure
  1. 1Error

    A human mistake

  2. 2Fault (defect)

    The mistake in code

  3. 3Failure

    The system behaves wrongly when the fault runs

Study guide

This unit covers errors, faults, defects and failures, the types and levels of testing, white-box and black-box testing, the testing life cycle, test planning, black-box strategies (random testing, equivalence partitioning, boundary value analysis), white-box adequacy criteria and defect tracking. Practise boundary value analysis for a simple input field.

Read Unit 1 notes
  • Scope and classification of software metrics
  • measurement basics
  • product quality metrics (MTTF, defect density, customer satisfaction, function point)
  • quality concepts (quality control, quality assurance, cost of quality)
  • SQA activities
  • software reviews/inspections/audits
  • quality attributes
  • Ishikawa's Seven Basic Tools
ClassificationIshikawa's seven basic quality tools
Quality tools
  • Cause-and-effect diagram

    Fishbone: root causes

  • Check sheet

    Tally of defects

  • Control chart

    Process stability

  • Histogram

    Distribution of data

  • Pareto chart

    Vital few causes

  • Scatter diagram

    Relationship between variables

  • Stratification

    Split data by source

Study guide

You study software metrics and their classification, product quality metrics (MTTF, defect density, customer satisfaction, function points), quality concepts (control, assurance, cost of quality), SQA activities, reviews, inspections, audits, quality attributes and Ishikawa's seven basic tools. Draw a fishbone diagram for a software defect.

Read Unit 2 notes
  • Comparative evaluation of testing tools
  • dynamic analysis tools
  • test data generators
  • debuggers
  • test drivers
  • technical metrics for software (analysis, design, testing, source code)
  • object-oriented testing strategies
  • test case design
  • interface testing
Key termsTesting techniques
Equivalence partitioning
Test one value from each input class
Boundary value analysis
Test at and around the edges
Statement coverage
Every line runs at least once
Branch coverage
Every decision true and false
Regression testing
Re-test after changes

Study guide

You study testing tools (dynamic analysis tools, test data generators, debuggers, test drivers), technical metrics for software and object-oriented testing strategies, test case design and interface testing. Try a testing tool such as Selenium or JUnit.

Read Unit 3 notes
  • Quality standards (ISO 9000/9001, CMM, Six Sigma)
  • CMM development and key process areas — requirements management
  • software project tracking
  • configuration management
  • process definition
  • product engineering
  • peer reviews
  • quantitative process management
  • defect prevention
HierarchyCMM maturity levels
  1. 5. Optimising

    Continuous process improvement

  2. 4. Managed

    Measured quantitatively

  3. 3. Defined

    Standard organisation-wide process

  4. 2. Repeatable

    Basic project management

  5. 1. Initial

    Ad hoc and chaotic

Study guide

You study quality management: ISO 9000 and 9001, CMM, Six Sigma, and the key process areas of CMM such as requirements management, project tracking, configuration management, peer reviews, quantitative management and defect prevention. Learn the five CMM maturity levels.

Read Unit 4 notes

Why Software Testing and Quality Assurance Matters

Testing and quality assurance are essential in every software company and a main entry point for fresh graduates, with roles such as QA engineer and test automation engineer.

How to Prepare for Software Testing and Quality Assurance

  • Practise writing test cases using equivalence partitioning and boundary value analysis.
  • Learn the testing levels and the CMM levels.
  • Try a test automation tool on a small project.

Software Testing and Quality Assurance: Frequently Asked Questions

What is the difference between verification and validation?

Verification checks that the product is built correctly against its specification, while validation checks that it is the right product for the user's needs.

What is boundary value analysis?

It is a black-box technique that tests inputs at the edges of valid ranges, where errors are most likely.

Final year of B.Sc IT? Plan your M.Sc IT next.

Build on your B.Sc IT with a 2-year M.Sc IT at SBS and go deeper into AI/ML, cloud and cybersecurity.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Software Testing and Quality Assurance.