i was inspired by your post as I have an idea to use ObjectScript code to control WireMock during unit testing. So I checked the documentation of Ens.Util.Pipe to notice it's not much help for me :(
So let's ask from community AI: https://community.intersystems.com/ask-dc-ai?question_id=242465
how i can use Ens.Util.Pipe to run a command line program?
I got answer that seems to do the job (I don't know, I haven't tried it yet, but bookmarked) but it doesn't help me with the Ens.Util.Pipe class.
Let's try another way: https://community.intersystems.com/ask-dc-ai?question_id=242514
show me an example how to use RunCommand class method of Ens.Util.Pipe class
This is beyond my current knowledge. Please ask the Developer Community for further assistance.
So in this case the AI tool is not yet a magical replacement for missing/lacking documentation :(
What I'm missing here as all I get is SQL Error [7001] [07001]: Parameter list mismatch.
?
OSEX>zw ^foo
^foo(1)="one"
^foo(2)="two"
CALL %Library.Global_Find('OSEX','^foo','1')
-- returns error:
-- SQL Error [7001] [07001]: Parameter list mismatch.
This is ObjectScript only. The other unit testing framework is in-house developed non-public xUnit like unit testing framework. It was developed before %UnitTest exists and I'm just wondering would it be possible to use TestCoverage with it. Unfortunately my ObjectScript skills are still lacking so it's a bit hard for me to figure that out from the code. The long term goal might be to try to adjust these two things to work together.