pathfinder
pathfinder copied to clipboard
RPC tooling: automatic spec tests
Access the viability of having specification-driven tests for the input and output of our RPC method implementations.
We currently have a very simple spec-driven test which ensures that we have all the required methods implemented. It would be great to have something similar that ensures the input and output of each method cover all possibilities.
It is possible that this is doomed
- not really viable without a massive effort or complications
- infinite permutations due to variants and options and an imprecise spec
- or just not feasible
In the end, if it cannot be done somewhat simply, then it is probably not worth more than having a hand-written comprehensive test suite. Once the spec ossifies then having this sort of automation will be less valuable.