Files
fn-serverless/tests
Carlos C d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00
..
2016-11-06 09:25:12 -08:00
2016-11-06 09:25:12 -08:00
2016-11-06 09:25:12 -08:00
2016-11-06 09:25:12 -08:00
2016-11-06 09:25:12 -08: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.