ChatGPT for writing test cases This has become one of my favorite ChatGPT abilities: Ask it to help you test a function, and it will write test cases for you. This example focuses on the quick sort function from the previous example.