Attempted agentic migration
Migrating from Mockito to MockK
Iteration 1
OkayPrompt
Lets migrate from mockito to mockk because this is a kotlin projectResult
Actually took the right steps for the update:
- Replaced the dependency
- Migrated Mockito calls
But couldn’t solve coroutine version conflict between platform libs and MockK.
Iteration 2
Not goodPrompt
There are failing testsResult
It tried to bring in another version of coroutines and tried to ensure that system JNA wouldn’t be used. This only made things worse.Conclusion
Honestly my prompting wasn’t the best, but this was supposed to be a simple migration. The agent took a long time running this task and I don’t think it was worth it.
I ended up doing the migration manually and it did take me some time to realize what was wrong.