# Feign APT test generator
This module generates mock clients for tests based on feign interfaces
## Usage
Just need to add this module to dependency list and Java [Annotation Processing Tool](https://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html) will automatically pick up the jar and generate test clients.
There are 2 main alternatives to include this to a project:
1. Just add to classpath and java compiler should automaticaly detect and run code generation. On maven this is done like this:
```xml
io.github.openfeign.experimentalfeign-apt-test-generator${feign.version}test
```
1. Use a purpose build tool that allow to pick output location and don't mix dependencies onto classpath
```xml
com.mysema.mavenapt-maven-plugin1.1.3processtarget/generated-test-sources/feignfeign.apttestgenerator.GenerateTestStubAPTio.github.openfeign.experimentalfeign-apt-test-generator${feign.version}org.codehaus.mojobuild-helper-maven-plugin3.0.0feign-stubs-sourcegenerate-test-sourcesadd-test-source
```