On Thu, 22 Jun 2023 at 21:36 Jeff Langr <jeff@...> wrote:
a) yes I had ChatGPT resolve some nasty CSS
interaction issues. It was conversationally incremental and reasonably
effective.
b) no I have not tried to get it to help with TDD.
I wonder about the converse. Can TDD be used (and sold in this context)
to help an AI assistant generate effective code?
I have used GitHub Copilot in my hobby project¡ª it¡¯s javascript and I don¡¯t know the language well, so it often suggests code that¡¯s better than what I would write. It does work with TDD, sort of.
?The main issue is that it will suggest production code that does more than strictly needed for the current test; often guessing the complete function on a single shot.?
Then I have the choice to delete it and write the bare minimum, or to keep it and ask Copilot to write the missing tests.
Here
in the middle of 2023 we see an AI bubble in the stock market -
launched by OpenAI's release of ChatGPT.? One can not turn on an info
feed without hearing about AI these days.? It is hotter than... Crocks
at the Beach in Boca Chica Texas.
Have you used an AI assistant
to do any Dev work?
Have you used an AI assistant to help in TDD?
----
Have a look at this article and let me know if this helps
learning/practicing Testing as a first class responsibility role of
Developing.