Forum Discussion

yousaf's avatar
yousaf
Icon for Staff rankStaff
5 days ago

Announcing Drift: A Spec-Driven API Provider Drift Testing Tool

“Every change breaks someone’s workflow” (https://xkcd.com/1172/)

This is true for APIs: schemas can be contracts - but usually they can’t, and alone they aren’t.

Spec validation helps to ensure your API does what it says it does. Contract testing provides visibility into consumer behaviour. Together, they’re a powerful combination — and until now, you needed separate tools and workflows to get there.

We are proud to announce the release of Drift 🚀

Drift is our answer to: “does my API actually match its spec?“:

  • ✅ Spec-driven - OpenAPI is the source of truth
  • 👩‍💻 CLI-first - Run in dev, automate in pipelines

  • 📝 Declarative - Deterministic, versioned-controllable test suites

  • ✏️ Scriptable - Lua engine for hooks, custom validation and advanced workflows

  • 🔌 Extensible - Add new capabilities through the plugin architecture

  • 🙆‍♂️ Flexible - Run standalone or embed into existing test frameworks

...and, of course, it’s fully integrated into PactFlow’s contract testing workflows to provide the API integrity checks needed in the age of AI, where APIs are created faster than ever and the cost of drift is higher than ever.

Read more about why we built it and where we’re taking it

👉 https://pactflow.io/blog/schemas-can-be-contracts/

1 Reply

  • 👋 Matt Fellows (PM for this feature) here - I'm really excited to see this land. Drift moves PactFlow into the "executable contracts" world, and is the logical bridge from our design and documentation solutions in Swagger. If you have a spec, you can test it.

    What really excites me is how fast you can roll it out. In a single sprint, we added Drift to no less than 4 services alongside our existing tests, providing us another layer of confidence that our APIs do what they say the do.

    Drift is everywhere - even in PactFlow, it seems 🙈!