Files
fn-serverless/examples/testframework/local/README.md
C Cirello 28f713ed11 fn: support for functions testing (#379)
* fn: add test framework

* fn: make routes creation smarter

* fn: add testframework examples

* fn: remove unnecessary dependency

* fn: update doc

* fn: fix consistenty between runff, runlocaltest and runremotetest
2016-12-05 17:05:06 +01:00

328 B

Example of IronFunctions test framework - running functions locally

This example will show you how to run a test suite on a function.

# build the test image (testframework:0.0.1)
fn build
# test it
fn test

Alternatively, you can force a rebuild before the test suite with:

# build and test it
fn test -b