Anne Yu created SENTRY-836:
------------------------------

             Summary: Refactor test TestDatabaseProvider.java: make each test 
case independent from other tests, not assume any external states/data
                 Key: SENTRY-836
                 URL: https://issues.apache.org/jira/browse/SENTRY-836
             Project: Sentry
          Issue Type: Bug
            Reporter: Anne Yu


Ideally tests should be independent from each other, not assume any external 
state/test data pre-exist on test environments. It helps setup before each test 
and clean up after each test using a method from base test class.

If the same data has to be present for each test, maybe put it into Before then 
clean up in After.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to