Page Contents

Home > @loopback/repository-tests

repository-tests package

@loopback/repository-tests

Functions

Function Description
crudRepositoryTestSuite(dataSourceOptions, repositoryClass, partialFeatures)  

Interfaces

Interface Description
CrudFeatures List of flags describing behavior specific to different connectors and repository implementations. These flags are used by the test suite to tweak assertions and skip tests for scenarios not supported by some implementations.

Type Aliases

Type Alias Description
CrudRepositoryCtor A constructor of a class implementing CrudRepository interface, accepting the Entity class (constructor) and a dataSource instance.
DataSourceOptions DataSource configuration (connector name, connection string, etc.).