aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-08 14:34:58 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-08 14:34:58 +0300
commit2d573b809175882f05a3fee624c7e08c67e8d944 (patch)
treef5d9394da76fc0883f84a3d44f81eb74dac52804
parent8e0222785ec221457417ec04b16df1477295365f (diff)
downloadgsxlib-2d573b809175882f05a3fee624c7e08c67e8d944.tar.gz
gsxlib-2d573b809175882f05a3fee624c7e08c67e8d944.tar.bz2
gsxlib-2d573b809175882f05a3fee624c7e08c67e8d944.zip
Added testing instructions
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 49e2a14..3bbcfb0 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,13 @@ ensures the certificate is sent with each request and you only have to define th
$ openssl rsa -in privatekey.pem -out privatekey.nopass.pem
+### Q: How do I run the test suite?
+
+A: First, install [simpletest][3], then:
+
+ $ GSX_DEBUG=1 GSX_TECHID=123456 GSX_SN=12345678 GSX_SHIPTO=123456 GSX_USER=me@example.com GSX_KEYPASS='MySuperSecretKey' GSX_SOLDTO=123456 GSX_CERT=/path/to/my/cert.chain.pem php runtests.php
+
+
License
=======
@@ -95,5 +102,7 @@ License
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
+
[1]: https://gsxwsut.apple.com/apidocs/ut/html/WSHome.html
[2]: http://php.net/manual/en/book.soap.php
+[3]: http://www.simpletest.org