Lets let ChatGPT generate UnitTests for our LeadMagnet Django code. How good is it? Performance? Usability? Is it as smart as all claims? We summarize the findings in KPIs and recommendations for efficient use of ChatGPT for Django UnitTest generation.
This is a free part of the series of implementing an email-harvesting function using a Lead Magnet in Django. Get your own email-list by trading an asset for emails. By using a targeted asset, you get the right type of potential customers to your following. This function can be bought as a service, but this is a DIY approach if you are in to using Python and DJANGO. Part 6 of 4.
Part 1-3 sets up the Django code, that we will compare ChatGpt against here.
Part 4 sets up a SMAF analysis to descide if we can use it as a SaaS.
We can also see this as the second part looking into the usage of ChatGPT to generate Code, UnitTests and Documentation. Part 2 of 3.
00:00 ChatGPT generating UnitTests, is testing my patience!
00:19 Generating UnitTests for Django
02:48 KPI 1 The Error Rate
03:34 KPI 2 The Multiplie
04:58 The Future