Effect-native end-to-end testing: the effect-e2e core, its web engine, its CLI and the private engine conformance suite.
@systemfsoftware/effect-e2e@systemfsoftware/effect-e2e-web@systemfsoftware/effect-e2e-cli@systemfsoftware/effect-e2e-conformance(private)
The following installs locally built tarballs into a new consumer directory. Run it from a checkout of this repository with Nix, Node.js 24 or newer, npm, and registry access for the other dependencies.
The npm registry returned 404 for the three effect-e2e packages when checked; this example does not install them from npm. The core dependency tarball version comes from the checkout's workspace overrides.
consumer="$(mktemp -d)"
core="$(nix build --no-link --print-out-paths .#sfs-deps)"
runtime="$(nix build --no-link --print-out-paths .#effect-e2e)"
cli="$(nix build --no-link --print-out-paths .#effect-e2e-cli)"
npm install --prefix "$consumer" --no-audit --no-fund "$core/effect-cell-types-12.0.2.tgz" effect@4.1.2
npm install --prefix "$consumer" --no-audit --no-fund "$runtime"
npm install --prefix "$consumer" --no-audit --no-fund "$cli"Use the installed CLI to generate a suite without installing its dependencies:
"$consumer/node_modules/.bin/effect-e2e" init --dir "$consumer/demo" --engine web --gateway openrouter --no-installeffect-e2e init: scaffolding demo in <consumer-directory>/demo
wrote e2e.config.ts
wrote vitest.config.ts
wrote runner.ts
wrote global-setup.ts
wrote tests/example.e2e.ts
wrote tests/example-agent.e2e.ts
wrote package.json
wrote .gitignore
Run the suite with its test:e2e script from <consumer-directory>/demo
The scaffold was generated without running a browser, a test suite, or a model. Its dependencies must be installed before running the suite.
@systemfsoftware/effect-e2e usage · @systemfsoftware/effect-e2e-cli usage