You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (Jira)" <ji...@apache.org> on 2020/04/27 21:33:00 UTC
[jira] [Created] (GEODE-8032) Unit tests should not pollute the
environment
Kirk Lund created GEODE-8032:
--------------------------------
Summary: 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
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)