[ 
https://issues.apache.org/jira/browse/RYA-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Dasch updated RYA-353:
---------------------------
    Description: 
{{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.

  was:Goal is to prevent any MongoDB from being spun up during Unit Test.  If a 
test requires interaction with MongoDB, it is then an Integration Test and 
should be suffixed with IT.


> Consolidate MongoTestBase into MongoITBase
> ------------------------------------------
>
>                 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)

Reply via email to