Package guru.mikelue.foxglove
package guru.mikelue.foxglove
Foxglove is a lightweight Java library for easing the generating data for testing database-related code.
Core Concepts
TableFacetrepresents the facet of a database table to be generated.DataGeneratoris the working interface which is responsible.ColumnMetais the read-only metadata for a column.
Settings
DataSetting is used to configure the behavior for data generating.
JDBC
JdbcTableFacet.builder(String)is the entry method used to construct and configure a table facet.JdbcDataGeneratoris the connection implementation forDataSource.
Examples
JdbcTableFacet.Builder- code snippets to configure table facets.DataSetting- code snippets to use settings.
- See Also:
-
ClassDescriptionMetadata of a column.The properties used for auto-generating of a column.DataGenerator<T extends TableFacet>Defines the common operators for data generating.Defines the rules to generate rows of a table.Easy to be used for auto-casting on values of a tuple.