In my last article, I suggested something that might sound a little ridiculous.
(My wife, bless her heart, is always generous with her compliments. Her personal favorite? “You’re always so ridiculous!”
After 20 years of marriage, I’ve learned to accept that as a term of endearment.
At least, I think that’s how she means it. 🤪)
Apologies…back to the Quest……
What if we used AI to automate the very engineering workflows needed to adopt AI?
And what if IBM i developers could build their own tools, extensions, and automation without waiting for someone else to deliver them?
Because last night - I decided to embark upon an actual quest.
Not for a shrubbery.
Not for the Holy Hand Grenade of Antioch.
But for an extension that can run RPGLE Unit Tests straight from IBM Bob!
And my trusty companion on this quest?
IBM Bob and Claude 🏰
Behold! My First IBM Bob Extension!
I’ve just published my first MVP (Minimum Viable Product) extension for IBM Bob and VS Code:
IBM i RPGLE Unit Tester Extension — GitHub

IBM i Unit - RPGLE Test Runner
And here’s the wonderfully ridiculous part.
I created it using AI—specifically, Claude—with a stupidly simple prompt!
Seriously. No elaborate prompt engineering. No mystical incantations. Just a simple request and a little AI magic.
And after just three prompt iterations, voilà! A working IBM Bob extension!
“Three shall be the number thou shalt count, and the number of the counting shall be three!”
Not four. Not two. THREE!
Even Brother Maynard would be impressed. 🤪
So, What Does This Contraption Actually Do?
The extension brings RPGLE unit testing into the IBM Bob / VS Code development experience.
It leverages your existing Code for IBM i connection and provides the tooling to:
- Run unit tests for free-format RPGLE programs and service programs.
- Install an IBM i unit-testing framework.
- Compile and execute test suites on IBM i.
- Generate formatted reports showing test results.
- Provide sample RPGLE programs to help developers get started.
Why does this matter?
Because many IBM i applications contain decades of critical business logic—and very little automated unit-test coverage.
Developers need a practical way to validate that logic as they refactor programs, introduce service programs, and modernize applications.
Automated testing helps us move forward without accidentally breaking the business rules that have kept those systems running for decades.
And let’s face it—we’d really like QA to love us again! ❤️
Or at least stop greeting our deployments with, “What have you broken this time?” 🤪
Or, as the Black Knight might say:
“It’s just a flesh wound!”
Well, perhaps. But I’d rather have a failing unit test than discover that flesh wound in production. 🤪
Want to See How Ridiculously Easy This Was?
Here’s where the story gets interesting.
I’ve included two particularly useful files in the GitHub repository.
Start here for installation instructions, configuration, examples, and running the extension.
And here’s a novel idea: Ask IBM Bob to explain anything you don’t understand—or help modify the extension to fit your environment!
This one is especially interesting.
It contains the actual prompts I gave Claude to create and refine the extension.
The first prompt was essentially:
“Create a VS Code / IBM Bob extension that runs unit tests for free-format RPGLE programs and service programs using the existing Code for IBM i connection. Generate a results report and include sample programs.”
That’s where the quest began.
A few follow-up prompts addressed IBM i library permissions, command execution, CCSID compilation issues, and documentation.
And just like that, we had a working MVP.
No grand architecture committee. No six-month project plan. No quest to find the sacred change-control form.
Just an idea, some prompts, testing, and iteration.
A Shout-Out to PUB400.com! 👏
A special thank-you to PUB400 for making an IBM i environment available where I could test this little adventure.
Without PUB400, I might still be wandering the countryside shouting:
“Bring out your dead… unit tests!”
Seriously, community resources like PUB400 are invaluable for experimentation, learning, and helping IBM i developers explore new possibilities.
After all, every knight needs a castle, every quest needs a starting point, and every IBM i developer needs a system where they can experiment without someone from Change Control shouting, “YOU SHALL NOT PASS!”
A Word of Warning from the Castle Guards
This is an MVP—not a finished commercial testing platform.
It will need additional capabilities, refinements, and testing across different IBM i environments.
But that’s actually part of the point!
Download it. Experiment with it. Give IBM Bob or your favorite AI coding assistant the source and ask it to make the changes your organization needs.
The real opportunity isn’t just using AI-powered tools. It’s using AI to build the tools we need.
And for IBM i organizations trying to move from decades-old development practices toward modern, automated engineering workflows, that’s a rather exciting proposition.
So, is this the Holy Grail of IBM i unit testing?
Probably not.
But it’s a start.
And unlike King Arthur, we didn’t need a coconut-powered horse to get there.
Onward, brave IBM i engineers! Our quest continues! ⚔️
Cheers, and thanks for reading.
— The Accidental Futurist
Originally published on LinkedIn.



