[Mondrian] how to run the standard test suite of Mondrian
jhyde at pentaho.com
Tue Apr 5 12:22:43 EDT 2011
The easiest way to build and run tests is to use ant from the command line.
I also use mondrian/bin/megatest -- it makes it easy to run the test suite
several times, against different databases, JDKs, and with different
property settings -- but that is optional.
I don't run Eclipse myself. I'm sure there is a way to get it to work.
In IntelliJ, I tend to develop under JDK 1.6, and I exclude JDK 1.5 files
(such as mondrian/olap4j/FactoryJdbc3Impl.java) from compilation. A similar
approach may work for you in Eclipse.
From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Michele Rossi
Sent: Tuesday, April 05, 2011 3:42 AM
To: Mondrian developer mailing list
Subject: Re: [Mondrian] how to run the standard test suite of Mondrian
I am having similar issues, I think it's a bit tricky to work on Mondrian in
Perhaps most of the problems are to do with the fact that Mondrian supports
both JDBC 3.0 and JDBC 4.0 at the same time.
Julian - is supporting JDBC 3.0 and older versions of Java still a strong
Perhaps at some point we could drop the support for Java 5.0 and people that
don't want to upgrade could always use old versions of Mondrian?
After all Java 6.0 with JDBC 4.0 was released in December 2006, 4 years and
4 months ago.
If we did that and used Maven we would obtain automatic eclipse integration.
You could change a line of code, hit ctrl+s and run your tests again from
eclipse to verify that your new code works.
I only mean to throw in some ideas, not to criticise - I think that Mondrian
On 5 April 2011 12:32, Venkatesh U <venkatesh20 at gmail.com> wrote:
I have setup the mondrian code in eclipse and I run the build.xml to build
the project. I could debug and run cmdRunner successfully. But when i also
link the testsrc folder, there are lot of errors in the project. How to run
the standard test suite and verify the test results. I am sorry if this is
some thing very simple and obvious.
Mondrian mailing list
Mondrian at pentaho.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mondrian