r/webdev • u/No_Wolf_3001 • 5d ago
Question Building tool, wondering if needed
Hey everyone, I hope this is allowed on the sub.
I’m currently working at an insurance company and my current workload involves a crazy amount of refactoring legacy code and overall modernising it.
I know everyone is exhausted of shills here but I’m just curious if people would find it useful to have an open source CLI tool that would automatically test API parity across releases to catch regression or it’s something that people usually write vast testing suites for.
Thanks for the feedback in advance.
1
Upvotes
3
u/fiskfisk 4d ago
Your tests should already answer this between commits, tags, or branches. Not sure what another tool would bring to the mix outside of those that are already available?
There's plenty of support for golden files/responses as well, and test frameworks integrates with a lot of existing tooling through the whole chain.
1
u/Tasty_Rush_4749 3d ago
I’d say yes, provided it’s lightweight and easy to drop into a CI/CD pipeline. There are existing approaches like traffic mirroring/replay or full contract testing, but they often feel like overkill when you just want a quick sanity check between two releases. A dead-simple open-source CLI that diffs responses against a baseline would be a great middle ground.
1
u/ArseniyDev 2d ago
to catch regression between releases. You probably need compatibility check in ci cd.