No Tests found [message #892238] |
Wed, 27 June 2012 09:22  |
Eclipse User |
|
|
|
Hallo everybody,
I'm trying to test PL\SQL Packages using a Maven PlugIn called utplsql. I've installed Hudson and created a job that should compile and test 1 PLSQL Package. When I'm running this job, Hudson is throwing an mavenExecutionResult exception:
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ plsqltest ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ plsqltest ---
[INFO] No tests to run.
[INFO] Surefire report directory: C:\Temp\Hudson\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Zeichne Testergebnisse auf
projectFailed de.psb-bonn.plsqltest:plsqltest:1.0-SNAPSHOT
[HUDSON] Archiving C:\Temp\Hudson\test_hudson_pom.xml to C:\hudson\jobs\TestPLSQL\modules\de.psb-bonn.plsqltest$plsqltest\builds\2012-06-27_15-03-34\archive\de.psb-bonn.plsqltest\plsqltest\1.0-SNAPSHOT\test_hudson_pom.xml
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.938s
[INFO] Finished at: Wed Jun 27 15:03:38 CEST 2012
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
I thought my pom-Files was wrong, so I tried to run it directly in Maven, to my surprise the job run here successfully:
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ plsqltest ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ plsqltest ---
[INFO] No tests to run.
[INFO] Surefire report directory: C:\Temp\Hudson\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-utplsql-plugin:1.31:execute (run-plsql-test-packages) @ plsqltest ---
[INFO] Running UTPLSQL tests for package bl_current_accounts
[INFO]
------------------------------------
TESTS
------------------------------------
utplsql:Testing package bl_current_accounts
Successes: 10, Failures: 0
Results:
Tests run: 10, Failures: 0
[INFO] bl_current_accounts, failed=0, passed=10, total=10
[INFO]
Is there anybody how has an idea why the job is not running in Hudson?
|
|
|
|
Re: No Tests found [message #892404 is a reply to message #892364] |
Thu, 28 June 2012 02:58  |
Eclipse User |
|
|
|
Hallo Steve,
your solution worked for me (I've created the project indeed as a maven project). After switching it to a free-style project it runs successfully.
Thank you for your help.
|
|
|
Powered by
FUDForum. Page generated in 0.04319 seconds