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 2017/10/05 14:08:00 UTC
[jira] [Updated] (RYA-353) Consolidate MongoTestBase into
MongoITBase and 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: Consolidate MongoTestBase into MongoITBase and convert Mongo tests to IT (was: Consolidate MongoTestBase into MongoITBase)
> Consolidate MongoTestBase into MongoITBase and 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
>
> {{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
(v6.4.14#64029)