Thanks for the link to the documentation. But it doesn't help. I run
 * mvn -Dmaven.test.skip=false -Dtest=org.dspace.content.ItemTest package
 * mvn -Dmaven.test.skip=false -Dtest=content.ItemTest package
 * mvn -Dmaven.test.skip=false -Dtest=ItemTest package
all ending up with the following message:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] No tests were executed!  (Set -DfailIfNoTests=false to ignore this 
error.)
[INFO] ------------------------------------------------------------------------

Do I have to define the module or set a classpath? Do I address the class and 
package correctly?

Regards,
  Pascal

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> helix84
> Sent: Tuesday, November 27, 2012 11:20 AM
> To: Becker, Pascal-Nicolas
> Cc: [email protected]
> Subject: Re: [Dspace-devel] Howto run just one test or all tests of just one
> test class
> 
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-
> test.html
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to