You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Jeff Dasch (JIRA)" <ji...@apache.org> on 2018/02/08 17:23:00 UTC
[jira] [Updated] (RYA-353) Convert Mongo tests to IT
[ https://issues.apache.org/jira/browse/RYA-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Dasch updated RYA-353:
---------------------------
Summary: Convert Mongo tests to IT (was: Consolidate MongoTestBase into MongoITBase and convert Mongo tests to IT)
> Convert Mongo tests to IT
> -------------------------
>
> Key: RYA-353
> URL: https://issues.apache.org/jira/browse/RYA-353
> Project: Rya
> Issue Type: Improvement
> Components: build
> Affects Versions: 3.2.11
> Reporter: Jeff Dasch
> Priority: Major
>
> {{MongoTestBase}} and {{MongoITBase}} are very similar. Consolidate functionality into {{MongoITBase}} and delete {{MongoTestBase}}.
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)