3 ms·
Just make sure the LLM doesn't go crazy with the mocks. I had some fully mocked tests before that didn't do anything (apart from looking green).
by danielbln 2y ago
Just make sure the LLM doesn't go crazy with the mocks. I had some fully mocked tests before that didn't do anything (apart from looking green).
- i_love_retros 2y agoI tell jest to output code coverage stats so I can see the llm generated tests do actually cover the code I want tested. But yeah, I agree they go overboard and add tests that don't even test anything due to excessive mocking