Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ChatGPT lists (common) downsides, remedies and situations when to avoid unit testing. Do you have the expected answer in mind, and could chatGPT have possibly deduced this from your prompt?


My problem and solution is probably too wide to explain here, so let's take an easier example.

TDD where you write the test before the code, is a widespread concept now. Imagine a time before this was the case. Would ChatGPT be able to come up with such a concept? Probably. Would it be able to really understand all the consequences of such a setup? I highly doubt it. Even if it did, would we trust it?

In my opinion, such things can only be tested in the real world, where you work with real projects, developers and testers, and gather all the impacts. I don't think a LLM could derive such things.


If you can't explain it in a comment then how did you explain it in the prompt(s)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: