composer require imbo/imbo-adapters-sdk
SDK for storage and database adapters used with Imbo. This package contains some abstract integration test cases that must be used by all adapters for Imbo, making sure they all pass at least the common tests. Adapters should also add specific tests when needed.
The following table shows which test case you will need to extend to test your implementation of Imbos interfaces:
SDK base test case | Imbo interface |
---|---|
Imbo\Database\DatabaseTests |
Imbo\Database\DatabaseInterface |
Imbo\Storage\StorageTests |
Imbo\Storage\StorageInterface |
Imbo\EventListener\ImageVariations\Database\DatabaseTests |
Imbo\EventListener\ImageVariations\Database\DatabaseInterface |
Imbo\EventListener\ImageVariations\Storage\StorageTests |
Imbo\EventListener\ImageVariations\Storage\StorageInterface |
Imbo\Auth\AccessControl\Adapter\MutableAdapterTests |
Imbo\Auth\AccessControl\Adapter\MutableAdapter |
MIT, see LICENSE.