you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 4 hours ago (1 child)

But you really should be writing those tests regardless of whether or not you or an LLM ends up writing the actual code. That helps ensure that the code actually does what you think it does, and prevents bugs or unintended changes in behavior from sneaking in later when something changes

  • source
  • parent
  • hideshow 1 child comment
  • Well, depends. My thousand-line pet project does not need any tests, it needs to be feature complete and never touched again.

    Bigger projects are usually ones where multiple people are contributing and having code that practically nobody wrote there is a huge problem on it's own in my opinion, even if it passes a number of tests. Good tests themselves are usually harder to write than the code they are testing, I am not sure if delegating the actual fun part of development to an LLM and doing "chores" manually is a good idea.

  • source
  • parent