eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create integration tests on the repositories databases

otaviojava opened this issue · comments

Which JNoSQL project the issue refers to?

JNoSQL Databases

Use case

After fixing the issue with a single repository by database, it allows us to move as next move on quality to create more integration tests on each NoSQL database module.

Currently, we have two test domains:
mapping: focusing on the Java integration until the communication layer
communication: the communication until the database.

The goal is to have a third domain to test as one with the "integration" domain.

As the pyramid test, we can cover only, initially, cover the CRUD operations mainly because it is a more expensive test.

⚠️ This new test does not remove the need for the other tests.

To avoid any new issues on injection, we should also move the injection by constructor instead of a field, once; we can do it on the latest version:

jakartaee/cdi#464

Databases

@otaviojava, FYI, I'm working on two issues (on this one and on the #381) related to the Couchbase JNoSQL Database implementation already. I'm intent to push up these changes tomorrow, 23rd May