/varnishtest-go

Test your VCL using go

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Running the tests

You will need to have Varnish Enterprise installed first.

./run.sh

Or, manually

go get
go test

Using a container

Build a docker image with varnish+go

docker build -t varnish-go-tests .

Run the tests from the current director

docker run -it --rm -v $(pwd):/tmp/tests --entrypoint "" -w /tmp/tests varnish-go-tests ./run.sh