_test.md files, so the cases you design here run with kane-cli testmd run and kane-cli testrun run like any other test.
Generate test cases from a description
A one-line description of a feature is enough for Kane CLI to propose scenarios and test cases, each tagged positive, negative, or edge with a priority. This use case goes from a description to saved, runnable tests in three commands.- Generate from a description, for example
kane-cli generate "checkout flow on a shopping site". The command prints a request ID when it finishes. - Read the scenarios and cases, and refine them in natural language as many times as you need, for example
kane-cli generate "also cover an expired card and an out-of-stock item" --refine --req <id>. - Save the functional cases as
_test.mdfiles withkane-cli generate --save --req <id>. Kane CLI writes them to.testmuai/tests/<suite>/<scenario>/<case>_test.md. - Run a saved case with
kane-cli testmd run <path-to-case>_test.md, or the whole folder withkane-cli testrun run --match '^.testmuai/tests/<suite>/'.
Generate test cases from a screenshot or a spec
A screenshot of a design or a page of a spec carries details a one-line description leaves out. In this recording, a screenshot of a sign-up page is attached to a generate request, and Kane CLI returns two scenarios, one for email, Google, and GitHub sign-up and one for input validation, with three cases each, which are then saved as runnable tests.- Attach files to a new generation with
--files, for examplekane-cli generate "Generate test cases for this signup page covering email signup, Google auth, GitHub auth, and the login link" --files ./register-page.png. - Attach up to ten files of 50 MB or less, including PDFs, Word documents, spreadsheets, images, audio, and video.
- In the interactive TUI, type
@in the generate prompt to attach a file inline. - Open a case to read its priority, preconditions, test data, and steps, and remove the cases you don’t want.
- Save the rest with
kane-cli generate --save --req <id>. Files attach to a generation or a refine, not to a save.
Design a requirement-linked suite from a PRD
A suite that cannot say which requirement each test proves is hard to trust and harder to maintain. In this recording, Kane CLI reads a bank app’s requirement document, proposes four use cases, designs scenarios and tests for one of them, runs them, and shows in the evidence viewer which acceptance criteria each passing test verified.- Snapshot your requirement documents with
kane-cli context ingest. - Run
kane-cli context extract. An agent reads the sources and proposes use cases, citing the lines it read. - Review the proposals with
kane-cli context review, and promote the ones you agree with to trusted. - Design tests for one use case with
kane-cli design tests, which writes acceptance criteria, scenarios, and one_test.mdper scenario, each tagged with the criteria it verifies. - Approve the design output with
kane-cli context review, then run the tests withkane-cli testmd runorkane-cli testrun run. - Run
kane-cli coverto see what the evidence pack proved and what the design still owes. - When a requirement document changes, run
kane-cli maintainto bring the suite back in line.
Explore an app and design tests from what it finds
Exploratory testing finds the screens and flows that a written suite never mentions.kane-cli explore runs on the cloud grid, maps the screens, flows, and findings it reaches, and designs tests from that map into your Test Manager project.
-
Start with a read-only exploration, so nothing in your app is changed:
-
Always pass
--project, and pass--policy read_onlyon every run that must not change data, because each run starts from the defaultmutatingpolicy. - Watch the live view for the number of screens, flows, and findings as they grow. Press Ctrl+C to detach, and the exploration keeps running on the grid.
-
Open the map with
kane-cli explore view --project <project-id>to see the screens and flows it found. - Move the tests it designed into a folder and run them like any other suite.
Watch for product bugs while tests are authored
The first run of a new test is the moment Kane CLI sees the page for the first time, which makes it a good time to notice a product bug. Bug detection asks the agent to flag suspicious behaviour while it authors steps, and Kane CLI confirms or rejects each suspicion.- Run new or generated tests with
--bug-detection continue, so confirmed bugs are recorded and the run keeps going. - Read the confirmed bugs in the run result and the evidence pack, each with the step where it was found.
- Switch to
--bug-detection stopwhen a confirmed bug should end the run.
Next steps
- Generate Test Cases: modes, options, and the shape of a result
- Assurance: requirement-linked design, coverage, and maintenance
- Exploration: policies, sign-in, private apps, and the map
- Regression & E2E Testing: keep the generated tests running on every build