mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
23 lines
474 B
Markdown
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 ./...
|
|
```
|