Files
fn-serverless/test/fn-api-tests/README.md
Owen Cliffe d25b5af59d Add annotations to routes and apps (#866)
Adds 'annotations' attribute to Routes and Apps
2018-03-20 18:02:49 +00:00

23 lines
474 B
Markdown

FN integration API tests
======================================
These are tests that can either run locally against the current codebase (e.g. in an IDE) or remotely against a running Fn instance.
Test dependencies
-----------------
```bash
DOCKER_HOST - for building images
FN_API_URL - Fn API endpoint - leave this unset to test using the local codebase
```
How to run tests?
-----------------
```bash
export FN_API_URL=http://localhost:8080
go test -v ./...
```