Testing does not always need to wait until developers finish implementing a feature. In many software projects, QA engineers start preparing test scenarios, reviewing requirements, identifying risks, and planning test activities while development is still in progress.

This approach helps teams identify missing requirements early, avoid testing delays, and reduce the chances of discovering major issues just before a release.

For example, imagine a development team is building a new employee leave management feature. Developers are still working on the leave application form, approval workflow, and leave balance calculation. Although the feature is not ready for execution, a QA engineer can already review the requirements, identify possible test scenarios, prepare test data, and discuss unclear business rules with the team.

By the time development is complete, much of the test planning work is already finished.

This is an important part of shift-left testing, where testing activities begin earlier in the software development lifecycle rather than starting only after implementation.

In this article, we will explore how QA engineers can prepare a practical test plan before development is complete, what information should be included, how to identify testing risks, and how to keep the plan useful as requirements and implementation details change.

What Is a Test Plan?

A test plan is a document that describes how a particular feature, application, or release will be tested.

It defines the testing objectives, scope, approach, resources, environment, schedule, risks, and responsibilities.

A test plan helps the QA team understand what needs to be tested, how testing will be performed, and what conditions must be satisfied before testing can be considered complete.

For a new feature, a test plan generally includes:

  • Feature overview and testing objectives.

  • Testing scope and out-of-scope areas.

  • Functional and non-functional testing requirements.

  • Test scenarios and coverage areas.

  • Test environment and required configurations.

  • Test data requirements.

  • Dependencies and integration points.

  • Risks and assumptions.

  • Entry and exit criteria.

  • Defect reporting and communication process.

  • Testing schedule and responsibilities.

A test plan does not need to contain every detailed test step from the beginning. It should provide a clear testing direction and evolve as more information becomes available.

Why Should QA Engineers Prepare a Test Plan Before Development Is Complete?

Waiting until development is finished before thinking about testing can create unnecessary delays.

When QA engineers participate early, they can identify problems while changes are still relatively easy to make.

Identify Missing Requirements Early

During requirement reviews, QA engineers may discover missing validations, unclear business rules, or incomplete acceptance criteria.

For example, a requirement might state:

"Employees should be able to apply for leave through the application."

However, several questions remain unanswered:

  • Can employees apply for leave on the same day?

  • Can they apply for leave in the past?

  • Is manager approval mandatory?

  • Can an employee cancel an approved leave request?

  • What happens when the employee has insufficient leave balance?

  • Are weekends and public holidays included in leave calculations?

Discussing these questions before development is complete helps prevent incorrect assumptions.

Reduce Testing Delays

Preparing test scenarios, identifying dependencies, and arranging test data in advance reduces the time required to start testing after deployment.

Improve Communication Between Teams

Early test planning gives QA engineers an opportunity to discuss expected behavior with developers, business analysts, and product owners.

This reduces misunderstandings between implementation and testing.

Identify Integration Risks

Some features depend on existing modules, external services, APIs, or databases.

Identifying these dependencies early helps the team prepare appropriate integration test scenarios.

How to Prepare a Test Plan While Development Is in Progress

A useful test plan should be prepared in stages. You do not need to wait for every development detail before starting.

The following approach can be used in real-world software projects.

Step 1: Understand the Feature Requirements

Start by reviewing the available information about the feature.

Do not limit your review to the requirement document. Check related discussions, user stories, designs, acceptance criteria, and existing application workflows.

Consider a new leave management feature.

The initial requirement states:

"As an employee, I want to apply for leave and track my leave requests so that I can manage my time off."

From this requirement, identify the main functionality:

  1. Employee can submit a leave request.

  2. Employee can select leave dates.

  3. Employee can provide a reason.

  4. Employee can view submitted requests.

  5. Manager can approve or reject requests.

  6. Leave balance should be updated according to business rules.

At this stage, focus on understanding what the feature should accomplish.

If the requirements are incomplete, document your questions instead of assuming the expected behavior.

Step 2: Define the Testing Scope

Once you understand the feature, identify what will be included in testing and what is outside the current scope.

For the leave management feature, the scope might look like this:

In Scope

Out of Scope

Submit leave request

Payroll processing

Validate leave dates

Employee recruitment

Display leave balance

Attendance device integration

Approve or reject requests

Performance management

Cancel eligible leave requests

Third-party HR reporting

View leave history

Unrelated employee profile features

Defining the scope helps avoid confusion when different teams have different expectations.

However, if an out-of-scope module directly affects the new feature, its integration points may still require testing.

Step 3: Identify Functional Test Scenarios

Now break the feature into smaller functionalities and identify what needs to be verified.

For a leave management feature, consider the following scenarios:

Module

Test Scenarios

Leave Application

Submit a leave request with valid information

Leave Dates

Select valid and invalid date ranges

Leave Balance

Verify available balance before and after a request

Leave Type

Select different supported leave categories

Approval

Approve or reject a submitted request

Cancellation

Cancel an eligible leave request

Leave History

Verify previously submitted requests

Notifications

Verify notifications after approval or rejection

These are initial test scenarios, not necessarily final test cases.

As development progresses and acceptance criteria become clearer, each scenario can be expanded into detailed test cases.

Step 4: Identify Negative and Boundary Scenarios

A good test plan should cover more than successful workflows.

Think about what could go wrong when users provide invalid information or perform unexpected actions.

For example:

Test Scenario

Expected Result

Submit a leave request without selecting dates

Application should display validation

Select an end date earlier than the start date

Application should reject the date range

Apply for more leave than the available balance

Application should follow the defined leave policy

Submit the same request repeatedly

Duplicate requests should be prevented

Apply for leave on a restricted date

Application should enforce the configured business rule

Cancel an already rejected request

Application should prevent invalid cancellation

Manager attempts to approve their own unauthorized request

Application should enforce role permissions

Also consider boundary conditions involving date ranges, leave balances, consecutive holidays, weekends, and monthly or yearly leave limits.

These scenarios help identify defects that basic functional testing may miss.

Step 5: Identify Integration and Dependency Requirements

A new feature rarely operates independently in a real-world application.

It may communicate with other modules, databases, APIs, or external services.

For example, leave management may depend on:

  • Employee management.

  • Authentication and authorization.

  • Leave balance calculation.

  • Manager approval workflows.

  • Notification services.

  • Attendance management.

  • Reporting services.

Identify these dependencies and document which integration scenarios need to be tested.

For example, after a manager approves a leave request, the QA team should verify whether the employee's leave balance is updated correctly and whether the relevant notification is generated.

If the notification service is unavailable, the application should handle the failure according to the defined business rules without incorrectly changing the approval status.

Step 6: Prepare Test Data Requirements

Test data preparation is another activity that can begin before development is complete.

Identify the different user accounts, data conditions, and input combinations required for testing.

For the leave management feature, the test data might include:

Test Data

Purpose

Employee with sufficient leave balance

Verify successful leave application

Employee with zero leave balance

Verify insufficient balance handling

Employee with limited leave balance

Test leave balance boundaries

Manager account

Verify approval and rejection

Employee with pending requests

Test request management

Employee with approved requests

Verify cancellation rules

Employee with rejected requests

Verify leave history and status

Use synthetic or approved test data rather than real employee information.

Preparing these records early helps prevent delays when the testing environment becomes available.

Step 7: Identify the Test Environment and Tools

Before development finishes, discuss the expected testing environment with the development and DevOps teams.

Identify the required application version, database configuration, API endpoints, test accounts, and external integrations.

A sample environment plan might look like this:

Component

Requirement

Application

QA deployment of the leave management module

Database

Configured test database

Browser

Supported Chrome, Edge, and Firefox versions

API Testing

Postman

Defect Tracking

Jira

Test Management

Azure DevOps or TestRail

Test Evidence

Screenshots, logs, and execution records

The exact tools depend on the project and the team's existing workflow.

Also identify whether external services will use test environments, mocks, or controlled test integrations.

Step 8: Define Entry and Exit Criteria

Entry and exit criteria help the QA team understand when testing can begin and when it can be considered complete.

Entry Criteria

Testing can begin when the agreed conditions are satisfied.

For example:

  • Development of the feature is completed.

  • A testable build is deployed to the QA environment.

  • Required APIs are available.

  • Test accounts and data are prepared.

  • Acceptance criteria are sufficiently clear.

  • Critical dependencies are accessible.

Exit Criteria

Testing can be considered complete when the agreed conditions are satisfied.

For example:

  • Planned test cases have been executed.

  • Critical and high-priority defects are resolved or formally accepted.

  • Required functional and integration coverage is achieved.

  • Retesting is completed.

  • Relevant regression testing is completed.

  • Test results are documented.

  • Remaining risks are communicated to stakeholders.

Exit criteria should be agreed upon with the project team. A fixed pass percentage alone does not guarantee that a feature is ready for release.

Step 9: Identify Risks and Mitigation Plans

Every new feature has potential risks.

Identifying them early helps QA engineers prepare additional testing activities.

For example:

Risk

Potential Impact

Mitigation

Incomplete leave policy requirements

Incorrect application behavior

Clarify business rules before test execution

Leave balance calculation changes

Incorrect employee balance

Prepare calculation-based test scenarios

Approval workflow dependency

Approval process may fail

Prepare integration test coverage

Notification service unavailable

Missing employee notifications

Test service failure handling

Concurrent leave requests

Incorrect balance or request status

Test simultaneous requests

Unstable QA environment

Testing delays

Coordinate environment readiness early

Risk identification should continue throughout development because new dependencies and implementation decisions may introduce additional risks.

Step 10: Prepare the Testing Schedule and Responsibilities

The test plan should identify who will perform each activity and when it is expected to happen.

A simple schedule might look like this:

Testing Activity

Responsibility

Planned Timeline

Requirement review

QA Engineer

During development

Test scenario preparation

QA Engineer

During development

Test data preparation

QA and Development Team

Before QA deployment

Functional testing

QA Engineer

After build deployment

Integration testing

QA and Development Team

After integration is available

Defect retesting

QA Engineer

After bug fixes

Regression testing

QA Team

Before release

Test closure

QA Lead

Before release approval

This schedule can be updated as development timelines change.

Practical Example: Sample Test Plan for a New Leave Management Feature

The following is a simplified test plan based on the example discussed above.

Test Plan Section

Details

Feature Name

Employee Leave Management

Objective

Verify leave application, approval, cancellation, and balance management

Testing Type

Functional, negative, boundary, integration, and regression testing

Scope

Employee leave requests, manager approvals, leave balance, and history

Test Environment

QA web application and test database

Test Data

Employee accounts, manager accounts, and different leave balances

Dependencies

Authentication, employee management, notification service

Tools

Jira, Postman, and test management software

Risks

Incorrect balance calculation, approval failures, and duplicate requests

Entry Criteria

Feature deployed and test environment available

Exit Criteria

Agreed coverage achieved and critical defects resolved or accepted

This test plan provides a starting point for the QA team. It can be refined as the feature moves closer to completion.

How to Keep the Test Plan Updated During Development

A test plan prepared early should not remain unchanged throughout the project.

Requirements, designs, APIs, and implementation details can change during development.

QA engineers should review and update the plan whenever important changes occur.

For example:

  • A new leave type is introduced.

  • The approval process changes from one manager to two managers.

  • Leave balance calculation rules are modified.

  • A new notification integration is added.

  • Cancellation rules are updated.

When these changes occur, review the affected test scenarios, test data, dependencies, and risks.

Maintain version history or change records so that team members can understand what has been updated and why.

It is also useful to maintain requirement traceability by mapping user stories and acceptance criteria to test scenarios and test cases.

This makes it easier to identify missing coverage when requirements change.

Common Mistakes to Avoid While Preparing a Test Plan

Even experienced QA engineers can make mistakes when planning testing activities too early or without sufficient requirement understanding.

Common Mistake

Better Approach

Waiting until development is complete to start planning

Review requirements and identify scenarios during development

Writing detailed test cases without understanding business rules

Clarify requirements before finalizing expected results

Focusing only on positive scenarios

Include negative, boundary, and exceptional conditions

Ignoring integration dependencies

Identify connected modules and external services

Preparing test data at the last minute

Identify data requirements early

Creating an unrealistic testing schedule

Consider dependencies and development readiness

Treating the initial plan as final

Update the plan as requirements evolve

Ignoring testing risks

Maintain a risk register and mitigation actions

Not involving developers or business analysts

Collaborate during requirement and design reviews

Conclusion

Preparing a test plan before development is complete helps QA engineers become involved earlier in the software development lifecycle.

Instead of waiting for a finished build, testers can review requirements, identify functional scenarios, explore negative conditions, prepare test data, understand dependencies, and evaluate risks while developers are still implementing the feature.

The employee leave management example demonstrates how a QA engineer can plan testing activities even when the application is not yet available for execution.

The important thing is to treat the test plan as a working document rather than a one-time activity. Update it as requirements, designs, and implementation details change.

A well-prepared test plan reduces uncertainty, improves communication between teams, and helps the QA team begin meaningful testing as soon as a testable build becomes available.