![]() ![]() They just require the presence of a value. The idea behind the project is that most unit tests do not care what the actual values are. While Instancio also supports this use case, this is not its goal. There are several existing libraries for generating realistic test data, such as addresses, first and last names, and so on. Instancio requires no changes to production code, and it can be used out-of-the-box with zero configuration. Its API was designed to be as non-intrusive and as concise as possible, while providing enough flexibility to customise generated objects. Its main goal is to reduce manual data setup in unit tests. Instancio is a Java library for generating test objects. Overriding Settings Using a Properties File Summary of methods for customising objects Using supply() to provide non-random values ![]()
0 Comments
Leave a Reply. |