Hi,
I have unit tests for all functionality including different behaviour flags (settable via cli), so I thought, I could easily use my "Example"-based tests to get the "should-be" output and the output of the compiled cli-based binary and somehow only write the run command in the comment above the "Example"-test source code, parse it and run the binary test file and compare the output.
With this idea in mind, is something like this this possible? I most certainly do not want to repeat myself.
Hi,
I have unit tests for all functionality including different behaviour flags (settable via
cli), so I thought, I could easily use my "Example"-based tests to get the "should-be" output and the output of the compiledcli-based binary and somehow only write the run command in the comment above the "Example"-test source code, parse it and run the binary test file and compare the output.With this idea in mind, is something like this this possible? I most certainly do not want to repeat myself.