nlnwa / veidemann-browser-controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker

veidemann-browser-controller

Test

go test ./...

Run integration test

The integration test is useful to validate compatibility between the browserless container image and the chromedp library.

Using docker

go test --tags=integration -run TestSession_Fetch ./server

Using podman

Note that you have to manually clean up containers after every run with using podman as container provider because the container reaper (ryuk) is disabled.

# Setup podman socket
systemctl --user start podman

# Run integration test
DOCKER_HOST="unix:///run/user/$UID/podman/podman.sock" go test -run TestSession_Fetch --tags=integration ./server -provider=podman

About

License:Apache License 2.0


Languages

Language:Go 99.7%Language:Dockerfile 0.3%