dennisrippinger / fakegen Goto Github PK
View Code? Open in Web Editor NEWA test library to fill an object graph with random data
License: Apache License 2.0
A test library to fill an object graph with random data
License: Apache License 2.0
In the regular case no one would want logging information from such a test until framework, but I believe it could help to debug log null cases. This should help other developers to understand what is happening, e.g. why a nested object is null.
As 68eaba3 has shown, can some parts within the logic be dependent on executing JVM. Here the ordering of the toString() result. When the library grows, it could be interesting to see more subtle differences depending on the JVM.
Currently Fakegen has multiple signatures for different purposes. With the support for other code generators more will come. We need some kind of configuration object with defaults for immutables/Autovalue etc. Would be cool if they come with a wither notation.
By default, the TestFiller uses a different seed for each instance. Depending on the usage a possible flaky test could be not desired. Currently, it would be required to add a fixed seed directly, but a special Class with a fixed seed by default could come handy.
It may be discuraged to use Optionals as field parameters, it might be relevant to fill them in any way. For this we need to improve the Object filler interface to also provide the Method
object, since we now need the generic information from the Optional. This brings also the foundation to fill iterables.
Fakegen could encounter entities with bean validation annotations present. They could present restrictions which Fakegen would currently ignore. We need an extra layer on the base values to extract bean validation constraints, depending on if the bean validation classes are present on the classpath.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.