DEV Community

Cover image for I Built Casely to Turn Requirements Into Test Cases
ILIA KARPENKO
ILIA KARPENKO

Posted on

I Built Casely to Turn Requirements Into Test Cases

Casely generated 33 test cases from a wallet specification and exported them to Excel with all nine columns from the team's template. It also missed two of the five problems planted in the spec. Both results are from the same public benchmark.

I built Casely because generating cases is only useful if a QA engineer can check the coverage and use the output. Give it a spec and a few of your team's existing cases. It proposes a plan, waits for your approval, then writes the cases in the format you already use.

Watch the Casely walkthrough

What should happen at $50,001?

The wallet spec says the limit is $50,000, but one worked example shows a successful $75,000 operation. That changes the expected results around the boundary. Which rule should the tester follow when they try $49,999, $50,000 and $50,001?

In the first benchmark run, Casely spotted that contradiction after generating the cases. It also missed that the spec never defined “verified status” or said what to do when the payment provider was unavailable. I added checks for those patterns to the planning instructions. The recorded score of 85/100 is from version 2.1.0, before those changes.

This is why Casely pauses at the test plan. By that point, you can see which flows it intends to cover and which questions it has about the spec. Resolve the limit first, then approve the plan and generate the boundary cases.

Keep the team's format

Start with a PDF, DOCX or XLSX spec, or read the requirements from Jira or Confluence through the Atlassian connector. Add a few existing cases so Casely can pick up the header order, ID scheme and writing style. In the wallet benchmark, the new case IDs started at WLT-0015, where the team's numbering picked up.

Casely can save the format for subsequent runs and export the cases as one XLSX workbook or a UTF-8 CSV. Check the import mapping in your tracker before handing off the file.

A reader on DEV asked whether Korean text would survive a CSV round trip with commas, quotes and line breaks. Arabic came up in separate feedback. In 2.4.0, I added both to the export test. It writes the cases to XLSX and CSV, reads the files back and compares every cell and the table dimensions with the original. DEV discussion · Changelog

What you can do with the cases next

  • API cases. When the spec describes endpoints, Casely can generate a Postman collection. When endpoint details are missing, it asks for the API docs.
  • UI cases. In Claude Code with Playwright MCP connected, /casely:run can walk the exported cases in a test environment and report which passed, failed or were blocked. It takes screenshots of failures.
  • Bug reports. /casely:bug can draft a report from a failed case, a trace ID or logs. Review the draft before filing it.

For a first try, use a small spec and a few cases in your team's format. Look at the plan before you approve it. You should be able to tell what Casely plans to test, what it left out and which questions still need a human answer. Installation and benchmark files

Top comments (0)