You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dave Barnes (Jira)" <ji...@apache.org> on 2020/09/10 15:53:08 UTC

[jira] [Closed] (GEODE-8032) Unit tests should not pollute the environment

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

Dave Barnes closed GEODE-8032.
------------------------------

> Unit tests should not pollute the environment
> ---------------------------------------------
>
>                 Key: GEODE-8032
>                 URL: https://issues.apache.org/jira/browse/GEODE-8032
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>             Fix For: 1.13.0
>
>
> Unit tests should not pollute the environment.
> From https://www.artima.com/weblogs/viewpost.jsp?thread=126923:
> A test is not a unit test if:
> * It talks to the database
> * It communicates across the network
> * It touches the file system
> * It can't run at the same time as any of your other unit tests
> * You have to do special things to your environment (such as editing config files) to run it.
> Tests that do these things are good but they should be an integration or system test instead of a unit test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)