Skip to content

mauriciojovel/Faker-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faker Generator

Build Status Coverage Status

Is a library to wrap Faker Project if you include the library in your project you can use the FakeAnnotation to create mock data.

How help to include more methods.

  1. First create a new implementation of annotation with the name that you want (package faker.generator) Example demo
  2. Create a new class that implement FakeService<T> on the package faker.generator.services and write to code to implement the method Fake implementation example
  3. Write on the annotation create in the point 1 @FakeServiceName with the service name create on the step 2.
  4. Write your test in a separated file.