To run tests do I need to upload test dir to my server ?

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
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

To run tests do I need to upload test dir to my server ?

Post by geddi »

To run tests do I need to upload test dir to my server ?

The docs don't specify this they just say upload the lib directory.
So do the test run from my pc or do I need ne upload them to the hosting server ?

Thanks
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: To run tests do I need to upload test dir to my server ?

Post by Apollo »

What lib directory? And run tests, as in, test your php script?

It depends, if you are running a webserver that supports php on your own PC, then you can run it locally. Otherwise, yes, you have to upload it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: To run tests do I need to upload test dir to my server ?

Post by Chris Corbyn »

Swift has a lib directory in it, it also come with unit and smoke tests. This is what the OP is referring to.

If you have PHP installed locally then you can run them locally but them smoke tests may not work since dynamic IP addresses are always blacklisted.
Post Reply