It would be nice to have something like!">"(42);

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:

Reply via email to