Hacker News new | ask | show | jobs
Show HN: Simple attributes for spec-driven agentic workflows (C#, Rust) (github.com)
2 points by dcdgo 7 days ago
I created a custom compilation error and Unit Test Runner for BDD Cucumber Specifications in Gherkin Syntax. Both C# and Rust are supported using Source Generators and Procedural Macros.

If there is a line mismatch in a test, the build will fail before the tests do. This is useful if you like the idea of unit tests but don't appreciate the amount of boilerplate and iteration time libraries such as XUnit require.

Try it in your agentic workflow and drop a comment with any feedback. Hopefully it will help you all reduce documentation drift and LLM hallucinations.