/java-random-instances-generator

a random instance generator for classes containing setters

Primary LanguageJavaMIT LicenseMIT

JavaRIG

Description

This project aims to provide a random instances generator for any class in java, it iterates through setters of an empty object and sets the fields values (using Java reflection api) randomly using one of the random generators defined in src/main/java/RandomGenerator.java

UseCases

This generator will mainly be used is Random-Testing of all java software products.

Javadocs

javadocs are not yet hosted but will be soon

Contributing

This is a new project, so we welcome all contributions, feel free to open a pull request

Project Structure

.
├── ...
    ├── ...    
        ├── Main              # the playground for testing our code
        ├── RandomGenerator   # the instance generator
        ├── TestClass         # the test class for which we will be trying to generate random objects
├── README.md, LICENSE...   # other files

To build sources locally follow these instructions.

Tests

we just started working on unit tests.

you are welcome to help on that matter.

Technologies

  • Java
  • Maven
  • JUNIT 5
  • Java Reflection Api

Project Status

this project is in progress, many things are not yet started

License

Copyright (c) 2021 {Obaydah Bouifadene, Hamza Ben Yazid, Ismail Mosleh, Ibrahim Mestadi}

Licensed under the License: MIT

Contact

Check our github ☺