Files
fn-serverless/test
2016-10-14 11:40:20 -07:00
..
2016-10-13 20:27:39 -07:00
2016-10-14 11:40:20 -07:00
2016-10-13 20:27:39 -07:00
2016-10-13 20:27:39 -07:00

The tests in these directory will test all the API endpoints and options.

One time:

bundle install

Start iron/worker-api and iron/worker-runner

Then:

HOST=localhost:8080 bundle exec ruby test.rb

To run single test, add -n testname

To test private images use env variables TEST_AUTH and TEST_PRIVATE_IMAGE TEST_AUTH is encoded to base64 user:pass string.