0
0
Testing Fundamentalstesting~8 mins

Why testing approaches guide strategy in Testing Fundamentals - Framework Benefits

Choose your learning style9 modes available
Framework Mode - Why testing approaches guide strategy
Folder Structure of a Testing Project
testing-strategy-project/
├── docs/
│   └── testing-approaches.md
├── test-plans/
│   ├── functional-tests.md
│   ├── exploratory-tests.md
│   └── automation-tests.md
├── tests/
│   ├── automated/
│   │   ├── unit/
│   │   ├── integration/
│   │   └── e2e/
│   └── manual/
│       └── exploratory/
├── utilities/
│   └── helpers.js
├── config/
│   ├── environments.json
│   └── strategy-config.yaml
└── reports/
    └── test-results/
Test Framework Layers
  • Strategy Layer: Defines testing approaches like manual, automated, exploratory, and regression testing guiding what tests to run.
  • Test Design Layer: Creates test cases and plans based on the chosen approaches.
  • Test Execution Layer: Runs tests manually or with automation tools depending on the approach.
  • Utilities Layer: Supports test execution with helper functions and data management.
  • Configuration Layer: Holds environment settings and strategy parameters to adapt tests to different contexts.
  • Reporting Layer: Collects and presents results to evaluate if the strategy meets quality goals.
Configuration Patterns
  • Environment Profiles: Use config files (e.g., JSON, YAML) to switch between dev, test, and production environments easily.
  • Strategy Flags: Enable or disable testing approaches (e.g., run exploratory tests only on nightly builds) via config parameters.
  • Credentials Management: Store sensitive data securely and reference them in configs to allow tests to authenticate properly.
  • Browser and Platform Settings: Define which browsers or devices to test on, supporting cross-platform strategy.
Test Reporting and CI/CD Integration
  • Test Reports: Generate clear pass/fail summaries and detailed logs showing which approaches were executed and their outcomes.
  • Dashboards: Visualize testing coverage and results by approach to help stakeholders understand quality status.
  • CI/CD Pipelines: Integrate tests into automated build and deployment pipelines, triggering different approaches as per strategy (e.g., quick smoke tests on every commit, full regression nightly).
  • Alerts and Notifications: Send test results to teams to quickly respond to failures detected by any testing approach.
Best Practices for Testing Approaches Guiding Strategy
  • Align Testing Approaches with Business Goals: Choose approaches that best reduce risks important to the project.
  • Mix Manual and Automated Testing: Use manual exploratory tests to find unknown issues and automation for repeatable checks.
  • Keep Strategy Flexible: Allow changing approaches as the project evolves or new risks appear.
  • Document Approaches Clearly: Make sure everyone understands why and when each testing approach is used.
  • Measure Effectiveness: Track defects found by each approach to improve the strategy over time.
Self-Check Question

In the folder structure shown, where would you add a new test plan document describing a risk-based testing approach?

Key Result
Testing approaches shape the strategy by guiding which tests to run, how to run them, and when, ensuring focused and effective quality checks.