QA:Package Update Acceptance Test Plan

From FedoraProject

Jump to: navigation, search

Contents

Introduction

The purpose of this document is to present a set of rules that determine whether a package update is considered ACCEPTED (i.e. it is ready to be committed to repository), REJECTED (i.e. the build should be discarded and a fix should be requested) or NEEDS_INSPECTION (i.e. similar to REJECTED at the moment, but it becomes ACCEPTED if all errors are waived).

Test Strategy

The test plan is divided into three main sections:

  1. Mandatory tests
  2. Introspection tests
  3. Advisory tests

Test Priority

All tests are executed in arbitrary order. If any of available tests fails, other tests still continue to be executed.

Scope

This test plan contains only tests that can be automated, i.e. executed without human intervention. No manual tests will be performed. (But this does not reject human intervention when inspecting the test results, like waiving false errors.)

Test Pass/Fail Criteria

All mandatory tests must pass. If some of mandatory tests fail then the package update is considered REJECTED.

All introspection tests must pass. If some of introspection tests fails, the package is considered NEEDS_INSPECTION (provided that all mandatory tests passed, otherwise it stays REJECTED). An eligible person may inspect errors of a failed introspection test and waive them.

The package update is considered ACCEPTED when:

The results of advisory tests have no impact on package update acceptance.

Test Deliverables

Test Cases

Note: More tests are going to be added in the future (manpage test, desktop-file test, etc).

Mandatory tests

Introspection tests

Advisory tests

Test Environment

Responsibilities and permissions

Schedule

This test plan is executed on every package update or new package build that is submitted to 'updates-testing' or 'updates' repository through Fedora Updates.

Risks