Gennadiy Rozental wrote:
So how do you pass and access command-line arguments in the test cases?
You could use boost:::bind to bind argc and argv with your test case.
A couple of other people have suggested this as well, and it works. Thanks.
A secondary question, or rather, a polite request: Could I ask that someone edit the documentation for unit test framework, please? While is it mainly intelligible, some of it is difficult to make sense of.
Not to sound deffencive, but I did strived to make it intelligible and clear. So do you have any particular parts in mind? Maybe we could work together on making them clearer.
Of course, I don't think you deliberately made it unclear. :) I'd be happy to help with grammar and spelling, but someone else who is familiar with the library would be in a better position to edit the technical content. Paul