[ 
https://issues.apache.org/jira/browse/GEODE-8032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095771#comment-17095771
 ] 

ASF subversion and git services commented on GEODE-8032:
--------------------------------------------------------

Commit dd695c42caaaf394f2253e5a435bcde72c059c4c in geode's branch 
refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=dd695c4 ]

GEODE-8032: Reclassify tests as integration tests (#5011)

These are tests that either create a full Cache or DistributedSystem
or touch so many classes that they're better off as integration
tests.

> 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
>
> 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)

Reply via email to