r/SpecDrivenDevelopment • • Nov 03 '26

Test tools for APIs.. curious what/why you use what you use

/r/Everything_QA/comments/1xmft3p/test_tools_for_apis_curious_whatwhy_you_use_what/
5 Upvotes

4 comments sorted by

1

u/Sad-CTO Nov 03 '26

Tools are less important imo. What I found to matter is how the product contract (aka “the spec”) is translated into real scenarios.

1

u/Due_Warthog749 Nov 03 '26

Interesting. Can you give some examples?

3

u/Sad-CTO Nov 03 '26

I actually wonder, why did you share this in the SDD subreddit, but okay, here goes.

When your specs are prose (Confluence, Google Docs, Markdown, etc), you rely on the agent's ability to extract test cases. To a certain extent, this works. However, as a QA specialist, how many times have you began testing only to find out that a previously correct suite started failing? Then you would go to someone responsible (a PM or engineer) and find out the possible reasons for this. Then you update the tests. Rinse, repeat.

Now, with SDD and a structured spec format in particular, agents enable you to build test suites that bind the spec requirements and acceptance criteria (and other notable parts) to scenarios. Structure helps maintain verifiable relationships between different artifacts. In this case I would imagine a ledger of test suites maintained by QA with an agent which maps tests to the req's/ac's.

Now, when spec changes upstream, you can get a deterministic notification that the change, when carried over downstream to QA, affects tests X, Y and Z, because the underlying criteria 100, 101 and 102 changed.

See where I am driving at? Whatever tool you're using to touch the API, doesn't really matter because you stop scripting it by hand. The agent can do that based on the product contract, the up-to-date-ness of which is ensured upstream by PMs and engineers. Instead, you focus on verifying that your tests make sense within the product domain.

2

u/Due_Warthog749 Nov 03 '26

Thank you for the reply. Mostly because I know SDD and AI are a big deal and I would like to learn from those using it as well. So thank you for your response.