Add ability to register command line arguments.
By adding a delimeter "--" into the sequence of arguments, it is now possible to partition the command line arguments into two halves. The unit test binary consumes everything before "--" and the unit test engine registers anything after "--". For example, caf-test -n -- foo bar passes "-n" to the caf-test parser to disable colors, whereas user tests can now access the remaining two arguments "foo" and "bar" via test::engine::argc() and test::engine::argv().
Showing
Please register or sign in to comment