You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/06 16:38:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16194819#comment-16194819 ]
ASF GitHub Bot commented on RYA-353:
------------------------------------
Github user jdasch commented on the issue:
https://github.com/apache/incubator-rya/pull/239
Caleb, RYA-353 handles the Test to IT refactor.
> 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)