Files
fn-serverless/test/fn-api-tests
Tolga Ceylan e36e25150c fn: api and systems tests port cleanup (#926)
*) removed unused cancel in api-test harness/server
*) removed hard coded port in getServerWithCancel along
with faulty health check code.
*) in SetupHarness() fixed code that skipped server start.
2018-04-09 11:16:08 -07:00
..
2018-03-26 11:19:36 -07:00

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

DOCKER_HOST - for building images
FN_API_URL - Fn API endpoint - leave this unset to test using the local codebase

How to run tests?

export FN_API_URL=http://localhost:8080
go test -v ./...