News for hackers. Stuff that matters.
Re:AI Makes Tech Debt More Expensive by rr808 on Thursday November 14, 2024 @10:08PM (#42143641)
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?
Re:AI Makes Tech Debt More Expensive by BillyTheKing on Friday November 15, 2024 @03:08AM (#42144840)
Would recommend to try out anthropic sonnet 3.5 for this one - usually generates decent unit tests for reasonably sized functions
Re:AI Makes Tech Debt More Expensive by MarcelOlsz on Friday November 15, 2024 @03:22AM (#42144903)
I use claude-3-5-sonnet-20241022 with a very explicit .cursorrules file with the cursor editor.
Re:AI Makes Tech Debt More Expensive by ponector on Friday November 15, 2024 @06:15AM (#42145845)
Can you share your .cursorrules? For me cursor is not much better than autocomplete, but I'm writing mostly e2e tests.
Re:AI Makes Tech Debt More Expensive by MarcelOlsz on Friday November 15, 2024 @06:42AM (#42146031)
You can find a bunch on https://cursor.directory/.