Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.11
-
None
-
None
Description
RyaMongoDbSailFactoryTest, PcjDocumentsIntegrationTest, PcjDocumentsWithMockTest, MongoPcjIntegrationTest, MongoPcjDocumentsTest need to be renamed to be IT's.
The goal is to prevent any embedded Mongo DB via MongoClient from being spun up during Unit Testing.
If a test requires interaction with MongoDB, it is by definition an Integration Test and should be suffixed with IT.
Update any mongo unit tests that don't require MongoDB to use Mockito where possible.
Once fixed, add a checkstyle check to enforce this policy.
Attachments
Issue Links
There are no Sub-Tasks for this issue.