The Powerduck Blog

API engineering, from the spec out

Product updates, engineering notes, and guides for designing, debugging, testing, mocking, and serving MCP tools from one OpenAPI spec.

Browse the guides
testing 4 min read

The Test Asserted Array Order the API Never Promised

Quick answer: If the API does not guarantee an order, your test should not assert one. Comparing a returned array element-by-element against a fixed sequence makes the test fail whenever

Read article