a collection of custom generators for test data generation
extends QuerySpec to add tests for AkkaStreamsRepo.queryToAkkaStream
extends QuerySpec to add tests for AkkaStreamsRepo.queryToAkkaStream
the effect
the model
the persistent type
extends QuerySpec to add tests for FS2Repo.queryToFS2
extends QuerySpec to add tests for FS2Repo.queryToFS2
the effect
the model
the persistent type
extends QuerySpec to add tests for IterateeIoRepo.queryToIterateeIo
extends QuerySpec to add tests for IterateeIoRepo.queryToIterateeIo
the effect
the model
the persistent type
extends QuerySpec to add tests for PlayRepo.queryToPlay
extends QuerySpec to add tests for PlayRepo.queryToPlay
the effect
the model
the persistent type
common code for longevity specs that use a longevity context with the test repo
common code for longevity specs that use a longevity context with the test repo
the effect
the model
contains common code for testing different Query instances against Repo.queryToVector, longevity.persistence.Repo.queryToIterator, and the four streaming query libraries:
contains common code for testing different Query instances against Repo.queryToVector, longevity.persistence.Repo.queryToIterator, and the four streaming query libraries:
pardon the nasty ScalaDocs for this class. we haven't figured out how to remove the methods inherited from ScalaTest classes yet.
the effect
the model
the persistent type
a ScalaTest fixture to test a Repo.
a ScalaTest fixture to test a Repo.
instances of this test are provided in your LongevityContext via methods repoCrudSpec
and inMemRepoCrudSpec
. these methods are added by
an implicit conversion from LongevityContext
to ScalaTestSpecs.
the repo CRUD spec exercises create/retrieve/update/delete for all the persistent types in your repo.
pardon the nasty ScalaDocs for this class. we haven't figured out how to remove the methods inherited from ScalaTest classes yet.
the effect
the model
generates test data for your domain model.
generates test data for your domain model. you can generate any kind of data that occurs in your domain model by calling TestDataGenerator.generate with the appropriate type parameter.
provides a factory method for an empty pool of custom generators
provides tools for testing your modelType and longevity context