docs(development): refresh e2e testing guide for the Chainsaw migration#611
docs(development): refresh e2e testing guide for the Chainsaw migration#611myasnikovdaniil wants to merge 1 commit into
Conversation
The developer guide still pointed at the retired hack/e2e.sh script and the old `make test` / `make login` / `make proxy` sandbox targets. Update the Testing section to describe the current suite — Kyverno Chainsaw app suites under hack/e2e-chainsaw/ plus the BATS bootstrap/OpenAPI checks — correct the make targets (make e2e; root make test = apply + e2e), and trim the Dynamic Development Environment section to the still-existing make exec. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
✅ Deploy Preview for cozystack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe development documentation now describes sandbox-container end-to-end testing, its two test suites, updated Kubernetes test commands, and the simplified ChangesDevelopment workflows
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the development documentation regarding end-to-end testing and the dynamic development environment. It clarifies how tests run inside a sandbox container, details the application and bootstrap/API test suites, updates the Makefile commands, and simplifies the development environment instructions. The feedback suggests a minor spelling correction to maintain American English consistency across the documentation.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| - **Bootstrap and API tests** — BATS scripts (`hack/e2e-install-cozystack.bats`, `hack/e2e-test-openapi.bats`) that bring the cluster up and check the aggregated API. | ||
|
|
||
| You can run e2e.sh either locally or directly within a Kubernetes container. | ||
| Conventions for writing and stabilising these tests live in the [E2E testing guide](https://github.com/cozystack/cozystack/blob/main/docs/agents/e2e-testing.md). |
There was a problem hiding this comment.
To maintain spelling consistency across the documentation (such as "visualization" on line 90 and "customizations" on line 260), please use the American spelling "stabilizing" instead of "stabilising".
| Conventions for writing and stabilising these tests live in the [E2E testing guide](https://github.com/cozystack/cozystack/blob/main/docs/agents/e2e-testing.md). | |
| Conventions for writing and stabilizing these tests live in the [E2E testing guide](https://github.com/cozystack/cozystack/blob/main/docs/agents/e2e-testing.md). |
What
Refreshes the "Testing" and "Dynamic Development Environment" sections of the developer guide (
docs/next/development.md) to match the current e2e setup after the BATS → Kyverno Chainsaw migration.Why
The guide referenced
hack/e2e.sh(deleted) and themake test/make login/make proxysandbox targets (removed), and made no mention of Chainsaw.Changes
hack/e2e.shlink; describe the sandbox flow and the two-part suite: Chainsaw app tests underhack/e2e-chainsaw/+ BATS bootstrap/OpenAPI checks, linking the monorepo'sdocs/agents/e2e-testing.md.make test→make e2e; note rootmake test= apply + e2e.make login/make proxy/ the SOCKS5 + Firefox paragraph (targets no longer exist), keepingmake exec.Scoped to
docs/next/; frozen versioned docs (v1.4/v1.5) left untouched.🤖 Generated with Claude Code
Summary by CodeRabbit
make apply,make e2e, andmake deleteworkflow.make testruns the apply and end-to-end steps together.