e2e

package
v0.17.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package e2e holds end-to-end tests that drive the real `local-review` binary as a subprocess against a fake OpenAI-compatible LLM server and assert on its CLI output and exit code.

The tests are gated behind the `e2e` build tag, so the default `go test ./...` does not build or run them (they shell out to `go build` and spawn a process — slower than a unit test, and they need `git` in PATH). Run them explicitly:

go test -tags e2e ./e2e/...

This file (no build tag) exists only so the package always has at least one buildable Go file; without it, `go test ./...` would error with "build constraints exclude all Go files" when it reaches this directory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL