[Mondrian] JUnit test cross-talk

Richard Emberson remberson at edgedynamics.com
Tue Mar 13 11:10:44 EDT 2007

The junit tests testAllMemberCaption and
testAllLevelName in the file BasicQueryTest.java
create Dimensions in the Sales cube, Gender3 and
Gender4 respectfully. For all subsequent
JUnit tests these dimensions are a part of the
the Sales cube definition.
This is junit test cross-talk.
Is there a way for these two tests to create
temporary dimensions, run their tests, and
the remove the dimensions after their tests

I assume that junit tests with side-effects are
not a good thing.


Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.

More information about the Mondrian mailing list