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
To run tests do I need to upload test dir to my server ?
Moderators: Chris Corbyn, General Moderators
Re: To run tests do I need to upload test dir to my server ?
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.
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.
- 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 ?
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.
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.