Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
rr808
1y ago
0 comments
Share
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?
0 comments
default
newest
oldest
BillyTheKing
1y ago
Would recommend to try out anthropic sonnet 3.5 for this one - usually generates decent unit tests for reasonably sized functions
MarcelOlsz
1y ago
I use claude-3-5-sonnet-20241022 with a very explicit .cursorrules file with the cursor editor.
ponector
1y ago
Can you share your .cursorrules? For me cursor is not much better than autocomplete, but I'm writing mostly e2e tests.
1 more reply
j
/
k
navigate · click thread line to collapse