yandex-qatools / hamcrest-pojo-matcher-generator

Autogenerated java hamcrest matchers for pojo with help of AnnotationProcessor
Apache License 2.0
33 stars 8 forks source link

add - any annotation processing #4

Closed lanwen closed 10 years ago

lanwen commented 10 years ago

also add e2e tests module to simplify debugging of annotation processor, use props from props-loader 1.5

For example we have @Expose annotation (com.google.gson.annotations.Expose) by Gson and want to generate matchers for fields with such annotation.

We can now:

mvn clean install -Dmatcher.gen.annotations=ru.yandex.qatools.processors.matcher.gen.annotations.GenerateMatcher,com.google.gson.annotations.Expose
 matcher.gen.annotations=ru.yandex.qatools.processors.matcher.gen.annotations.GenerateMatcher,com.google.gson.annotations.Expose