Bird
Raised Fist0
Testing Fundamentalstesting~8 mins

Quality assurance vs quality control in Testing Fundamentals - Framework Approaches Compared

Choose your learning style10 modes available
Framework Mode - Quality assurance vs quality control
Folder Structure Example
  quality_management_framework/
  ├── qa_processes/
  │   ├── standards/
  │   │   └── coding_standards.md
  │   ├── audits/
  │   │   └── audit_checklist.xlsx
  │   └── training_materials/
  │       └── qa_training.pdf
  ├── qc_tests/
  │   ├── test_cases/
  │   │   └── functional_tests.xlsx
  │   ├── test_scripts/
  │   │   └── automated_tests.py
  │   └── defect_reports/
  │       └── defects_log.csv
  ├── config/
  │   └── environment_settings.yaml
  ├── reports/
  │   ├── qa_reports/
  │   └── qc_reports/
  └── README.md
  
Test Framework Layers
  • Quality Assurance (QA) Layer: Focuses on processes and standards to prevent defects. Includes documentation, audits, and training.
  • Quality Control (QC) Layer: Focuses on actual testing activities to find defects. Includes test cases, test execution, and defect tracking.
  • Configuration Layer: Manages environment settings and parameters for both QA and QC activities.
  • Reporting Layer: Collects and presents results from QA audits and QC test executions for decision making.
Configuration Patterns

Use separate configuration files for different environments (development, staging, production) to control QA and QC activities.

  • Store environment URLs, credentials, and test data in environment_settings.yaml.
  • Use version control to track changes in QA standards and QC test scripts.
  • Parameterize test scripts to run in different environments without code changes.
Test Reporting and CI/CD Integration
  • Generate QA audit reports summarizing process compliance and improvements.
  • Generate QC test reports showing pass/fail status and defect details.
  • Integrate QC test execution into CI/CD pipelines to run automated tests on code changes.
  • Use dashboards to visualize QA and QC metrics for stakeholders.
Framework Design Principles
  1. Separate QA and QC: Keep process improvement (QA) and defect detection (QC) activities distinct but aligned.
  2. Documentation is Key: Maintain clear QA standards and QC test cases for consistency.
  3. Automate QC Tests: Use automation to speed up defect detection and regression testing.
  4. Use Configurations: Manage environments and credentials separately to avoid hardcoding.
  5. Continuous Feedback: Use reports to improve QA processes and fix defects faster.
Self Check Question

Where in this folder structure would you add a new automated test script for a login feature?

Key Result
Separate quality assurance processes from quality control testing to ensure both prevention and detection of defects.

Practice

(1/5)
1. Which statement best describes the main focus of Quality Assurance (QA) in software testing?
easy
A. QA focuses on improving the process to prevent defects before they occur.
B. QA focuses on finding defects in the finished product.
C. QA is only about testing the software after development.
D. QA is responsible for fixing bugs found in the software.

Solution

  1. Step 1: Understand QA's role

    Quality Assurance is about the process and preventing defects early.
  2. Step 2: Compare with other options

    Options A, B, and D describe Quality Control or development tasks, not QA.
  3. Final Answer:

    QA focuses on improving the process to prevent defects before they occur. -> Option A
  4. Quick Check:

    QA = Process improvement [OK]
Hint: QA is about process, not product defects [OK]
Common Mistakes:
  • Confusing QA with QC
  • Thinking QA only tests software
  • Believing QA fixes bugs
2. Which of the following is the correct description of Quality Control (QC)?
easy
A. QC is about designing processes to avoid defects.
B. QC involves testing the product to find defects.
C. QC is responsible for writing code.
D. QC manages project timelines.

Solution

  1. Step 1: Define QC

    Quality Control focuses on inspecting and testing the product to detect defects.
  2. Step 2: Eliminate incorrect options

    Options A, C, and D describe other roles unrelated to QC.
  3. Final Answer:

    QC involves testing the product to find defects. -> Option B
  4. Quick Check:

    QC = Product testing [OK]
Hint: QC finds defects in the product [OK]
Common Mistakes:
  • Mixing QC with process design
  • Assuming QC writes code
  • Confusing QC with project management
3. Consider this scenario: A team creates a checklist to improve their coding process and also runs tests to find bugs in the software. Which activities represent QA and which represent QC?
medium
A. Both creating checklist and running tests are QC.
B. Creating checklist is QC; running tests is QA.
C. Creating checklist is QA; running tests is QC.
D. Both creating checklist and running tests are QA.

Solution

  1. Step 1: Identify QA activity

    Creating a checklist to improve process is a QA activity.
  2. Step 2: Identify QC activity

    Running tests to find bugs is a QC activity.
  3. Final Answer:

    Creating checklist is QA; running tests is QC. -> Option C
  4. Quick Check:

    Checklist = QA, Tests = QC [OK]
Hint: Process improvement = QA; Testing product = QC [OK]
Common Mistakes:
  • Swapping QA and QC roles
  • Thinking both are same
  • Ignoring process vs product difference
4. A tester wrote this statement: "Quality Assurance is responsible for finding bugs in the software." What is wrong with this statement?
medium
A. QA manages the software deployment process.
B. QA only fixes bugs, not finds them.
C. QA is the same as QC, so the statement is correct.
D. QA is responsible for preventing defects, not finding them.

Solution

  1. Step 1: Understand QA's responsibility

    QA focuses on preventing defects by improving processes.
  2. Step 2: Identify error in statement

    Finding bugs is the role of QC, not QA.
  3. Final Answer:

    QA is responsible for preventing defects, not finding them. -> Option D
  4. Quick Check:

    QA prevents defects, QC finds them [OK]
Hint: QA prevents; QC detects defects [OK]
Common Mistakes:
  • Confusing QA with QC
  • Assuming QA finds bugs
  • Mixing roles of QA and developers
5. A software company wants to improve product quality. They plan to implement process audits and also increase automated testing. Which of these actions correspond to QA and which to QC?
hard
A. Process audits are QA; automated testing is QC.
B. Both process audits and automated testing are QC.
C. Process audits are QC; automated testing is QA.
D. Both process audits and automated testing are QA.

Solution

  1. Step 1: Analyze process audits

    Process audits check and improve processes, so they are QA activities.
  2. Step 2: Analyze automated testing

    Automated testing finds defects in the product, so it is QC.
  3. Final Answer:

    Process audits are QA; automated testing is QC. -> Option A
  4. Quick Check:

    Audits = QA, Automated tests = QC [OK]
Hint: Audits improve process (QA); tests find bugs (QC) [OK]
Common Mistakes:
  • Mixing audits with testing
  • Assuming all testing is QA
  • Ignoring process vs product focus
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard