Page 1 of 1
To run tests do I need to upload test dir to my server ?
Posted: Wed May 07, 2008 9:22 am
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
Re: To run tests do I need to upload test dir to my server ?
Posted: Wed May 07, 2008 4:15 pm
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.
Re: To run tests do I need to upload test dir to my server ?
Posted: Wed May 07, 2008 5:57 pm
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.