This is what started it all…

December 2022…it was 3 am and I was suffering from jet lag. ChatGPT was all over the news and it wasn’t good…kids will use it to cheat on their term papers!

Hmmm…could I use it to cheat on my work? Specifically, could I get it to write test cases? Here goes nothing…


Write some test cases for a login screen.

Sure! Here are some test cases for a login screen:

  1. Test the correct username and password combination.
  2. Test the wrong password for a correct username.
  3. Test the wrong username and correct password combination.
  4. Test the correct username and an empty password field.
  5. Test the correct password and an empty username field.
  6. Test a combination of a wrong username and a wrong password.
  7. Test the case sensitivity of the username and password fields.
  8. Test the maximum and minimum length of the username and password fields.
  9. Test special characters in the username and password fields.
  10. Test the login button’s functionality when the input fields are empty.

Wow.

It knew what “write test cases” meant.

It knew what a login screen was.

And its list of test cases was more complete than the example I had been using in my testing classes or in the TAME tool guide.

One prompt typed into ChatGPT and I knew the world would change forever…


Comments

Leave a Reply