Skip to content

Instantly share code, notes, and snippets.

@gavinandresen
Last active December 10, 2015 12:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gavinandresen/4435034 to your computer and use it in GitHub Desktop.
Save gavinandresen/4435034 to your computer and use it in GitHub Desktop.
Skeleton of a test plan document
# Standard bitcoin configuration file for QA testers
rpcuser=qatest
rpcpassword={put something random here}
# logtimestamps is set so every line in the debug.log files contains a timestamp.
# Then submitting your debug.log is proof that you tested what you said you tested,
# when you said you did (you could try to cheat by creating a fake debug.log, but that'd
# be more work than just running the tests).
logtimestamps=1

TEST PLAN TITLE

Submit completed tests and debug.log files to: {Name <email>}

Version tested: {0.x.y release candidate N, or git commit}

Test environment: {Operating System or other relevant info}

Test Setup

Describe any test environment setup that needs to be done, in an explicit, step-by-step fashion.

For example, for sanity-testing a release the setup might be:

  1. Begin with a clean, non-developer operating-system image.
  2. Download latest release candidate from sourceforge.
  3. Run installer or follow installation instructions.
  4. Create a bitcoin.conf file in the default data directory (~/.bitcoin on Linux, etc; see sample.bitcoin.conf)

Tests

Each test is a level-3 section, with Title, test procedure, and expected results. Examples:

Blockchain download

Run Bitcoin-Qt for the first time on a clean system.

EXPECT:

  1. After a few minutes, GUI shows wallet with zero balance.
  2. After a few minutes, GUI shows at least one connection to the network.
  3. After 24 hours, GUI shows fully synchronized with network/blockchain.

PASS/FAIL (if FAIL, tester may add notes here or links to issues filed)

Revert back to last release

Run the previous test. Copy the wallet's default receiving bitcoin address. Then uninstall Bitcoin-Qt, install the previous release and run it.

EXPECT:

  1. Same wallet is used (GUI shows same receiving address)
  2. GUI is up and running and synchronized with the network quickly.

PASS/FAIL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment