Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [skalli-dev] Running Skalli regression tests

There is a profile qa defined in the main pom, which contains all of the test-projects.

 

To run all test vall: maven clean install –Pqa

 

Regards Britta

 

From: skalli-dev-bounces@xxxxxxxxxxx [mailto:skalli-dev-bounces@xxxxxxxxxxx] On Behalf Of Jochen Hiller
Sent: Donnerstag, 12. Mai 2011 11:07
To: Skalli project developer mailing list
Subject: [skalli-dev] Running Skalli regression tests

 

Hi all,

 

I am just starting to add web-contextpath support to Skalli. I tried to run all regression tests in advance, to be sure not to break existing tests.

 

What is the recommended way to run Skalli tests? I could run "mvn test" sucessfully, but did not found any test results.

 

Running JUnit tests within IDE did also not work, e.g. running "org.eclipse.skalli.core.test (Plug-in Test)" results in 

 

!ENTRY org.eclipse.osgi 4 0 2011-05-12 10:58:50.253

!MESSAGE Application error

!STACK 1

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)

       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

       at java.lang.reflect.Method.invoke(Method.java:597)

       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

       at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

       at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

 

 

I've also added a section about running tests to wiki. I will update it according to my understanding.

 

 

Thanks for any help.

 

Jochen

 


Back to the top