It recently dawned on me that OpenTAP can serve as an excellent data format converter.
My colleagues sometimes use test software that has been provided by an outside party, which produces results in a format we aren’t familiar with. One such colleague recently asked if I could convert the unfamiliar data format into one of our familiar formats we’ve developed in OpenTAP.
It was an epiphany: In order to meet my colleague’s needs, all I had to do was read the original data into OpenTAP. I didn’t have to worry about the writing/output side at all, that was already developed.
So I made a test step that reads in the original data, and publishes it to the result listeners. Just like that, I can convert the data to all of our familiar formats. Awesome!
Awesome! Pretty cool and unique use case. Do you actually have a step that runs this other program as well or do you essentially have a single step “Convert Data” test plan?
@brennen_direnzo Good question. We’ve done that with other outside software. This particular program runs on macOS, which is why I started the other macOS thread. Since my existing OpenTAP plugins are built on .NET Framework and use WPF, I can’t run them on macOS. So I wouldn’t be able to integrate my existing plugins with this outside test software, which makes integrating the outside test software into OpenTAP less beneficial for me.
@brennen_direnzo To answer more directly:
Do you actually have a step that runs this other program as well
or do you essentially have a single step “Convert Data” test plan?
Thanks makes sense. You and others may be interested in following this: Files · macOsSupport · OpenTAP / OpenTAP · GitLab
Are you aware of the import/export functionality in the “Run Explorer”? Here you can export data using any of your existing result listeners.
Yes, @brennen_direnzo showed me that once. I was blown away! We haven’t made a habit of using the SQLite result listener yet, but that is some powerful functionality. I suppose what I’ve developed is similar to that feature, except for a different source format than SQLite.