a collection of custom generators for test data generation
common code for longevity specs that use futures
common code for longevity specs that use a longevity context and a repo pool
contains common code for testing different Query instances against Repo.retrieveByQuery and Repo.streamByQuery.
contains common code for testing different Query instances against Repo.retrieveByQuery and Repo.streamByQuery.
pardon the nasty ScalaDocs for this class. we haven't figured out how to remove the methods inherited from ScalaTest classes yet.
a ScalaTest fixture to test a RepoPool.
a ScalaTest fixture to test a
RepoPool. 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 repos in your repo pool.
pardon the nasty ScalaDocs for this class. we haven't figured out how to remove the methods inherited from ScalaTest classes yet.
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 domainModel and longevity context