Hardy Ferentschik commented on Bug HV-618

Can you help me making sense of your testcase. I downloaded the zip file, extracted it and ran mvn clean test. The build completed successfully. However, I don't think it ran actually any tests. Could you explain in more detail the problem and maybe you could even write a unit test which runs in the Hibernate Validator test harness. This would be much appreciated, because it makes it much easier for us to track down the problem (and isolate from other framework setup problems).

To write a test case for Validator checkout the source and have a look at this page - https://community.jboss.org/wiki/ContributingtoHibernateValidator

Really it should be as simple as

> git clone git://github.com/hibernate/hibernate-validator.git validator
> cd validator
> mvn clean install -s settings-example.xml

This should successfully build the master of Hibernate Validator. Given that your issue seems to be around method validation you can then have a look at org.hibernate.validator.test.internal.engine.methodlevel.MethodLevelValidationTest. You should be able to add your model which is giving you grieve and add a test to this test class.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira