Testing Swiftmailer.

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Testing Swiftmailer.

Post by anthony88guy »

How do I use the alltests.php

In config you have: define('SIMPLETEST_BASE', '/units/');

Where is this SIMPLETEST_BASE?

I just don't understand how to run all the tests...



Thanks for your help
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Testing Swiftmailer.

Post by Chris Corbyn »

anthony88guy wrote:How do I use the alltests.php

In config you have: define('SIMPLETEST_BASE', '/units/');

Where is this SIMPLETEST_BASE?

I just don't understand how to run all the tests...



Thanks for your help
You need to download simpletest (google it -- and it's on sourceforge). Then you change that path to point to your installation and go ahead and run the tests from where they are. You should see a green bar :)
Post Reply