maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Rivard <adrien.riv...@gmail.com>
Subject Re: No test to run, No code to compile
Date Thu, 28 Aug 2014 09:26:04 GMT
Hi,

I'm not really sure what are you expecting, but I will suppose you want to
run some junit tests.

Most probably those tests are not in the right directory and or have not
the good filename pattern (mostly should end with Test) or does not
contains tests methods (@Test annotations).

If that does'nt resolve your problem, please provide more information on
what results you expect, your pom, your project structure etc...


On Wed, Aug 27, 2014 at 10:11 AM, tertelos <kkarkalos@yahoo.com> wrote:

> I have been struggling with this for days and i really want to move on can
> somebody please help me, i am getting the following console output:
>
> T E S T S
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife ---
> [INFO] C:\Program Files
> (x86)\Jenkins\jobs\gameoflife-default\workspace\src\test\stories does not
> exists. Skipping easyb testing
> [INFO]
> [INFO] --- maven-surefire-plugin:2.10:test (integration-tests) @ gameoflife
> ---
> [INFO] No tests to run.
> [INFO] Surefire report directory: C:\Program Files
> (x86)\Jenkins\jobs\gameoflife-default\workspace\target\surefire-reports
>
> T E S T S
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (jacoco-site) @
> gameoflife ---
> [INFO] Skipping JaCoCo for project with packaging type 'pom'
> [INFO]
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ gameoflife
> ---
> [INFO] Installing C:\Program Files
> (x86)\Jenkins\jobs\gameoflife-default\workspace\pom.xml to
>
> C:\Windows\system32\config\systemprofile.m2\repository\com\wakaleo\gameoflife\gameoflife\1.0-SNAPSHOT\gameoflife-1.0-SNAPSHOT.pom
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building gameoflife-build 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-build
> ---
> [INFO] Deleting C:\Program Files
> (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @
> gameoflife-build ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> gameoflife-build ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent
> (jacoco-initialize) @ gameoflife-build ---
> [INFO] argLine set to
>
> "-javaagent:C:\Windows\system32\config\systemprofile.m2\repository\org\jacoco\org.jacoco.agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=C:\Program
> Files
>
> (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\jacoco.exec"
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> gameoflife-build ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
> @ gameoflife-build ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory C:\Program Files
>
> (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\src\test\resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> gameoflife-build ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.10:test (default-test) @
> gameoflife-build
> ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-surefire-plugin:2.10:test (unit-tests) @ gameoflife-build
> ---
> [INFO] No tests to run.
> [INFO] Surefire report directory: C:\Program Files
>
> (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\surefire-reports
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/No-test-to-run-No-code-to-compile-tp5803100.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Adrien Rivard

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message