Personal tools
You are here: Home Products GetPaid with Plone Documentation How To How do I run tests for GetPaid?
Document Actions

How do I run tests for GetPaid?

This How-to applies to: Any version.
This How-to is intended for: Developers

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!!

by Christopher Johnson last modified November 13, 2007 - 03:27
Contributors: maurits

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by