Writing tests in bash
by: Ansel Robateau
I have been writing testing scripts in bash for a while now and decided to do some practice of our company's development process over the weekend. In order to simulate the code review process, I used ChatGPT at https://chat.openai.com to act as my code reviewer.
Here's the testing code and ChatGPT's response.
ChatGPT's code review
Perform a code review:
I'm pretty happy with this workflow and glad to know that my testing script is well structured.
I used ChatGPT on personal code that is open source that I wrote on my own time. It is not recommended that you share company secrets with ChatGPT.