carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuchuanyin <>
Subject [GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...
Date Tue, 23 Jan 2018 03:39:01 GMT
Github user xuchuanyin commented on the issue:
    I think these issues in tests should be fixed. The tests should not depend on each other.
    **JUnit won't guarantee the execution order** of the tests as it says: 
    Tests can use the objects (variables) in a test fixture, with each test invoking different
methods on objects in the fixture and asserting different expected results. Each test runs
in its own test fixture to isolate tests from the changes made by other tests. That is, tests
don't share the state of objects in the test fixture. **`Because the tests are isolated, they
can be run in any order`**. (refer to [this](


View raw message