How do I run tests for GetPaid?

by Christopher Johnson last modified Dec 30, 2008 05:54 PM
GetPaid contains several tests within its components. This document explains the commands to run those tests. Note: this is required before you check anything in to the svn repository.

Purpose

Provide the commands necessary to run all GetPaid tests in order to (a) verify functioning and (b) facilitate development.

Prerequisities

A working install of GetPaid and a command line.

 

Step by step

GetPaid consists of several components. All the tests can be run with the following two commands:

bin/test

runs all unit tests for:
eggs/simplejson
eggs/elementtree
src/getpaid.core
src/getpaid.io
src/getpaid.nullpayment
src/hurry.workflow
src/ore.xd

For PloneGetPaid, run:

bin/instance test -s Products.PloneGetPaid

Further information

If you are a developer on the product, please make sure you (a) update your working copy and (b) run all tests before you check anything in! Thank you!!