NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
You Hired the AI to Write the Tests. Of Course They Pass (claudecodecamp.com)
BeetleB 4 minutes ago [-]
I wish there was a way to "freeze" the tests. I want to write the tests first (or have Claude do it with my review), and then I want to get Claude to change the code to get them to pass - but with confidence that it doesn't edit any of the test files!
aray07 2 minutes ago [-]
yeah i agree - this is somewhat the approach I have been using more of. Write the tests first based on specs and then write code to make the tests pass. This works well for cases where unit tests are sufficient.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:29:12 GMT+0000 (Coordinated Universal Time) with Vercel.