From 2d573b809175882f05a3fee624c7e08c67e8d944 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 8 Aug 2015 14:34:58 +0300 Subject: Added testing instructions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3