Unable to access ValidatorTestUtil class

Issue #284 wontfix
Srujana Rachakonda created an issue

Hi,

In the example tests i see that this class is used for some validation methods such as assertFail etc. But i see that it is present in the test folder and i am not able to access it from the maven plugin.

Could someone suggest a way to fix this?

Thanks

Comments (3)

  1. James Navin

    Agree. I suggest you copy the methods you need from it - that class has a lot of helper methods that are specific to the tests in the core library and wouldn’t translate very well.

    One option could be to add a new module containing Hamcrest matchers that could be used in your own tests. If you think that would be valuable please open a new issue as a feature request.

    Cheers,

    James

  2. Log in to comment