Hamcrest Pojo Matcher Generator Versions Save

Autogenerated java hamcrest matchers for pojo with help of AnnotationProcessor

annotation-processors-2.0.1

6 years ago
  • #29 - search getters with any case in field name

annotation-processors-2.0.0

7 years ago
  • #23 - fix problem with fields in nested static classes

Also:

  • migrate to java-poet lib from velocity templates
  • reduce number of dependencies
  • rewrite logic of finding and creating methods

annotation-processors-1.3

7 years ago
  • #21 - Fix issue with generating matchers for inner classes
  • #20 - Added possibility to use DoNotCreateFeatureMatcher annotations for fields

v1.2

8 years ago

New features

  • #12 - Add support for primitive types
  • #11 - Add possibility to use annotations on classes

Improvements

  • #16 - Migrate to Java 8

annotation-processors-1.1

9 years ago

New features

  • #4 - any annotation processing

Improvements

  • #3 - get rid of tools.jar dep (used only for tests)

Now it uses only this dependencies (with compile scope):

<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest-all</artifactId>
</dependency>

<dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>velocity</artifactId>
</dependency>

<dependency>
    <groupId>com.googlecode.lambdaj</groupId>
    <artifactId>lambdaj</artifactId>
</dependency>

<dependency>
    <groupId>ru.yandex.qatools.properties</groupId>
    <artifactId>properties-loader</artifactId>
</dependency>

annotation-processors-1.0

9 years ago

Initial release

It needs to be included deps with any ver (as provided scope used not correctly):

<dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>velocity</artifactId>
    <version>1.7</version>
</dependency>

<dependency>
    <groupId>com.googlecode.lambdaj</groupId>
    <artifactId>lambdaj</artifactId>
    <version>2.3.3</version>
</dependency>

<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>18.0</version>
</dependency>

<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-lang3</artifactId>
    <version>3.3.2</version>
</dependency>