mtedone / podam

PODAM - POjo DAta Mocker
https://mtedone.github.io/podam
MIT License
323 stars 750 forks source link

Podam fails to select right annotation in case a field has multiple annotations #205

Closed Mdoniseter closed 7 years ago

Mdoniseter commented 8 years ago

A sample POJO

public class Test {

    @PodamStringValue(length = 3)
    @Length(min = 3, max = 3)
    String field;
}
maxdidato commented 7 years ago

So, basically, if a Podam annotation is present on a attribute/method, all the other annotations should be ignored.

daivanov commented 7 years ago

Yes, I think this is the best approach.

maxdidato commented 7 years ago

What is the best way to contribute? I cannot see any information on the ReadME. You want the pull request created against develop?

daivanov commented 7 years ago

Yes, develop is the development branch. But patch with 20 changed files with 1,983 additions and 1,979 deletions has very little chance of merging ;)

daivanov commented 7 years ago

Fixed in Podam 7.0.5.

daivanov commented 7 years ago

You can try Podam's snapshot.