github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/testframework/local/README.md (about)

     1  # Example of IronFunctions test framework - running functions locally
     2  
     3  This example will show you how to run a test suite on a function.
     4  
     5  ```sh
     6  # build the test image (testframework:0.0.1)
     7  fn build
     8  # test it
     9  fn test
    10  ```
    11  
    12  Alternatively, you can force a rebuild before the test suite with:
    13  ```sh
    14  # build and test it
    15  fn test -b
    16  ```