Hi Kristian, Thanks for taking your time to reply!!!
On Fri, Jun 25, 2010 at 5:27 PM, Kristian Waagan <[email protected]>wrote: > On 25.06.10 13:49, Nirmal Fernando wrote: > >> Hi All, >> >> I want to know how can I run only this test file >> "org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.java". >> >> Can someone please send me the command or is it impossible? >> > > Hi Nirmal, > > This is a JUnit test, so you can do something like: > java -cp junit.jar:DERBY_JARS_OR_CLASSES junit.textui.TestRunner > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest > > To test it out the simplest is to add junit.jar and classes/ to the > classpath. > > You can also run it with the Swing UI, but then you have to use > "junit.swingui.TestRunner -noloading". > I think there's a wiki for this, but I don't remember the link off the top > of my head. > You may already know this, but you can also run all the tests in a package > by pointing at for instance lang._Suite > > > Hope this helps, > -- > Kristian > > > >> Thanks in advance! >> >> -- >> Best Regards, >> Nirmal >> >> C.S.Nirmal J. Fernando >> Department of Computer Science & Engineering, >> Faculty of Engineering, >> University of Moratuwa, >> Sri Lanka. >> > > -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka.
