Quick update: I wrapped up adding test cases for tree widget of #GitRaven
Its job is to construct tree like structures for given 1D paths like “foo/bar/baz.txt”
Next up, diff generation logic needs to be tested. I wrote 2 test cases manually and got them to pass.
Later, gave those two over to ChatGPT along with my enum declarations so it understands context and asked it to explain the code.
Once I am happy with the answer, I asked it to come up with test cases.
In this process, we came across a diff logic bug in the app.
I confirmed the bug on the UI so writing test cases for this will prove to be very useful. A lot of learning in just a day!
<rant>
I am bittersweet about AI tech. It has its use cases but its run by not so trustworthy people for definitely not good intentions 🫠
</rant>

