4 ms·
I struggle to get github copilot to create any unit tests that provide any value. How to you get it to create really useful tests?
by rr808 2y ago
I struggle to get github copilot to create any unit tests that provide any value. How to you get it to create really useful tests?
- BillyTheKing 2y agoWould recommend to try out anthropic sonnet 3.5 for this one - usually generates decent unit tests for reasonably sized functions
- MarcelOlsz 2y agoI use claude-3-5-sonnet-20241022 with a very explicit .cursorrules file with the cursor editor.
- ponector 2y agoCan you share your .cursorrules? For me cursor is not much better than autocomplete, but I'm writing mostly e2e tests.
- MarcelOlsz 2y agoYou can find a bunch on https://cursor.directory/ https://cursor.directory/.