Detailed ChatGPT exchanges for my post: Quick look at Claude Code-generated Bhagavad Gita ...
In relation to my previous post: Quick look at Claude Code-generated Bhagavad Gita React Native and Expo app (no coding by author) , I had some ChatGPT exchanges which I felt are detailed exchanges and are more appropriate to share as a separate post, and so this post. Given below are extracts from a recent ChatGPT chat titled, AI app testing issues. Testing of an AI generated app # Me: For a React and Node app, Jest testing seems to be referred to as 'snapshot testing'. I am used to the 'unit testing' term. Pls. explain snapshot testing in context of perhaps older term of unit testing. CG: You are right to anchor your understanding in unit testing . Snapshot testing is not a replacement for unit testing ; it is a specific technique that became popular with React (and Jest) because of how UIs are rendered. Let’s relate the two using familiar testing concepts. 1. What “unit testing” traditionally means In classic unit testing (pre-React, or backend-heavy): You t...