Hacker News new | ask | show | jobs
by zsoltkacsandi 35 days ago
What I do is that each of my requirements are captured in a yaml file, with a unique id, with the exact sentence I wrote. Each must be covered/proven at least with one test, a linter checks whether the requirement is covered (test exists annotated with that id), and a test inventory generated from it. Usually I browse and review the test inventory first to see I get what I asked. It does not guarantee that the agent implemented everything correctly, but if I ask another agent to review it and point out the gaps, it produces very good results.
1 comments

Is each file just one sentence? Trying to get a better sense of how you implemented this.
You can see it here: https://github.com/gofabrik/oauth21/blob/main/conformance/ca...

I am experimenting with the process with building up an oauth 2.1 server based on the RFCs to see whether it is a viable way to develop software or not.