PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Unit testing

s2Member Plugin. A Membership plugin for WordPress®.

Unit testing

Postby cdvrooman » January 30th, 2011, 9:32 pm

How do you go about unit testing s2member?

Sincerely,
Christopher Vrooman
User avatar
cdvrooman
Registered User
Registered User
 
Posts: 6
Joined: December 21, 2010

Re: Unit testing

Postby FrancescoRizzi » January 31st, 2011, 11:46 am

how granular of a unit were you thinking?

I don't know how the dev team is unit testing the individual units of the plugin (eg: each method) - possibly via phpunit ?

As far as integrating s2Member into a WP site, I've been:
~ testing the various parts/pages/forms appearance and display locally (eg: this page should display the signup form, this page should display the thank you message, this page should appear only to paying members, etc)
~ move to a server on the web to test the cycle with a PayPal Sandbox account (you need to be on the web for Paypal sandbox to accept your transaction, I believe)
~ at some point we'll go live switching from the PayPal sandbox to the actual merchant account
User avatar
FrancescoRizzi
Registered User
Registered User
 
Posts: 21
Joined: December 2, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 3 guests

cron