How do I run tests for GetPaid?
This How-to applies to:
Any version.
This How-to is intended for:
Developers
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!!