Package org.mongounit
Class DatasetGenerator
java.lang.Object
org.mongounit.DatasetGenerator
DatasetGenerator
class is a standalone runnable program that can generate JSON-based
starter dataset files which can later be used to seed and verify database tests.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractListArgumentValues
(String commaSeparateArgumentValue) static void
Main method for theDatasetGenerator
.
-
Constructor Details
-
DatasetGenerator
public DatasetGenerator()
-
-
Method Details
-
main
Main method for theDatasetGenerator
.- Parameters:
args
- Arguments that are passed into the standalone program.
-
extractListArgumentValues
- Parameters:
commaSeparateArgumentValue
- String that contains comma separated argument values without a space between them.- Returns:
- List of argument values, where each item in the list is an argument value from the 'commaSeparateArgumentValue'
-