On Wednesday, 4 September 2013 at 11:06:45 UTC, linkrope wrote:
It would be nice to have something like


So, have a look at 'assertOp':

How can a user of your code add matchers, for example, to check for elements or attributes in XML? (Without having to change your code.) The hidden 'MatchStatement' makes the code easy to use but seems to make it hard to extend. You could add a second ('matcher') parameter to 'must', but then you have to switch from '.' to '('...')':


By the way: Does the color output work on Windows?
Here is what I do to color the unit-test results:

Thanks for the feedback and the pointers - I think they're all good ideas. I'll look into making the necessary adjustments.

Reply via email to