One more issue , I came across is, we are using another open source framework called "Canoo", the "commons-lang.jar" is conflicting between these two frameworks.
SQLunit is working fine, but when I ran my canoo scripts it is giving problems which used to work fine.
When I removed the SQL unit from the classpath, then agian they started working.
Thanks
Meghanath
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SQLUnit ships with a few jar files in its lib directory. You dont have to install these if you already have these. The commons-lang.jar is (as far as I think) used by mockrunner, SQLUnit does not use it directly, so you will need it only if you are running the mock test cases.
Feel free to put Canoo's commons-lang.jar in your classpath before sqlunit's, or remove the sqlunit's commons-lang.jar altogether, its probably the newer one, and does not find things it needs in the older jar.
-sujit
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Sujit
One more issue , I came across is, we are using another open source framework called "Canoo", the "commons-lang.jar" is conflicting between these two frameworks.
SQLunit is working fine, but when I ran my canoo scripts it is giving problems which used to work fine.
When I removed the SQL unit from the classpath, then agian they started working.
Thanks
Meghanath
Hi Meghanath,
SQLUnit ships with a few jar files in its lib directory. You dont have to install these if you already have these. The commons-lang.jar is (as far as I think) used by mockrunner, SQLUnit does not use it directly, so you will need it only if you are running the mock test cases.
Feel free to put Canoo's commons-lang.jar in your classpath before sqlunit's, or remove the sqlunit's commons-lang.jar altogether, its probably the newer one, and does not find things it needs in the older jar.
-sujit