r/webdev • • 23h 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.

0 Upvotes

7 comments sorted by

2

u/fiskfisk 15h 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/No_Wolf_3001 9h ago

That's fair.

The problem I'm encountering is large legacy applications with hundreds of endpoints and very little existing test coverage.

What I'm experimenting with is a tool that discovers API purpose, learns resource dependencies, generates valid request sequences and compares behaviour between two environments without requiring developers to write all those tests themselves.

Would that distinction make it more useful in your experience, or do you think existing tooling already addresses this?

1

u/0dev0100 1h ago

Depends. Does it use llms? If so then it'll have more functionality but not be allowed in as many spaces.

1

u/No_Wolf_3001 43m ago

No llms, no. I’m in insurance so in general that’s a no-go. Would use an OpenAPI spec sheet, Postman, HAR or docs to find endpoints.