entitlementcard icon indicating copy to clipboard operation
entitlementcard copied to clipboard

1318: Setup backend test database

Open seluianova opened this issue 7 months ago • 3 comments

Short description

To add integration tests for the backend (#1532), we need to setup a database. In my opinion, using test containers library is the most convenient way to implement that.

Proposed changes

Add IntegrationTest base class, where database setup is performed. To add new tests that require a database, new test classes must extend the IntegrationTest class.

Side effects

Would be nice to check if everything works on different OS. I have only tested it on Ubuntu 22.04.4 LTS.

Resolved issues

Fixes: #1318

seluianova avatar Jul 15 '24 16:07 seluianova