▲ | ozgrakkurt 5 days ago | |
You can use the fuzzer to generate test cases instead of writing test cases manually. For example you can make it generate queries and data for a database and generate a list of operations and timings for the operations. Then you can mix assertions into the test so you make sure everything is going as expected. This is very useful because there can be many combinations of inputs and timings etc. and it tests basically everything for you without you needing to write a million unit tests | ||
▲ | manmal 5 days ago | parent | next [-] | |
That sounds worse than letting an LLM dream up tests tbh. I wouldn’t consider grooming a huge number of tests for their usefulness after they‘ve been generated randomly. And just keeping all of them will just lock the implementation in place where it currently is, not validate its correctness. | ||
▲ | 5 days ago | parent | prev [-] | |
[deleted] |