tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

index.md (2923B)


Testing Policy

Everything that lands in mozilla-central includes automated tests by default. Every commit has tests that cover every major piece of functionality and expected input conditions.

One of the following Project Tags must be applied in Phabricator before landing, at the discretion of the reviewer:

Exceptions

* Refactors, mechanical changes, and deleting dead code as long as they aren’t meaningfully changing or removing any existing tests. Authors should consider checking for and adding missing test coverage in a separate commit before a refactor. * Code that doesn’t ship to users (for example: documentation, build scripts and manifest files, mach commands). Effort should be made to test these when regressions are likely to cause bustage or confusion for developers, but it’s left to the discretion of the reviewer.

* In another commit in the Stack. * In a followup bug. * In an external repository for third party code. * When following the Security Bug Approval Process tests are usually landed later, but should be written and reviewed at the same time as the commit.

* Interacting with external hardware or software and our code is missing abstractions to mock the interaction out. * Inability to reproduce a reported problem, so landing something to test a fix in Nightly.

Phabricator WebExtension

When accepting a patch on Phabricator, the phab-test-policy webextension will show the list of available testing tags so you can add one faster.