e2e

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package e2e holds the end-to-end scenarios: whole flows through a running kōjō, its forge and its chat surface, asserted on from the outside.

The tests build only with the e2e tag and run against a stack that is already up, the one `make dev-sbx` or `make dev-kind` starts: kōjō with the mock model provider (testdata/recordings/dev), a throwaway Forgejo with the demo repository, and the Slack mock. `make e2e` runs them.

They find the stack through environment variables, which the dev scripts write to .kojo/e2e.env:

KOJO_E2E_URL             kōjō's base URL
KOJO_E2E_TOKEN           an admin API token of kōjō
KOJO_E2E_REPO            the demo repository, as forgejo/<owner>/<name>
KOJO_E2E_FORGEJO_URL     Forgejo's base URL
KOJO_E2E_FORGEJO_TOKEN   an access token of the repository's maintainer
KOJO_E2E_BOT             the login of the account kōjō acts as
KOJO_E2E_SLACKMOCK_URL   the Slack mock's base URL

A test whose variables are not set skips itself and names the one that is missing. scripts/e2e.sh turns a run in which nothing ran into a failure.

Jump to

Keyboard shortcuts

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