Add product consisting of the test helpers target
When writing a cli, the interface might be interesting enough to warrant tests of the parsing. In order to do that I had previously copied the test helpers from the argument parser project into mine. However recently I came back to such a project and saw my tests fail. After a too-long investigation it turned out that the particular function I copied had diverged from the source; copying the updated version fixed my tests. If I had been able to import ArgumentParserTestHelpers from the start, I would not have had that problem. Obviously not all of the current content of the target is desirable as public api, but the various functions that start with “Assert” are all obviously useful to users of the package for their own tests.
Interested in also writing parsing tests for my cli swift projects, so including test helpers would be awesome. I have not managed to build it with just copying the ArgumentParserTestHelpers though, getting some linker / compiler errors. Anything special you did @glessard ?
@haaakon I was interested specifically in AssertParse and AssertErrorMessage, and those (currently) just work when copied to a test target.