Hi Janet,

I see the Module Unit Testing
page<https://wiki.openmrs.org/display/docs/Module+Unit+Testing>is
quite old and has not been updated for mavenized module. You can look
at
the mavenized basic
module<http://svn.openmrs.org/openmrs-modules/basicmodule/trunk/>'s
pom and the parts are:

<dependency>
    <groupId>org.openmrs.test</groupId>
    <artifactId>openmrs-test</artifactId>
    <version>${openMRSVersion}</version>
    <type>pom</type>
    <scope>test</scope>
</dependency>

this means that we are using the pom for the openmrs-test artifact. On the
other hand, for the api tests, we are getting the jar


<dependency>
    <groupId>org.openmrs.api</groupId>
    <artifactId>openmrs-api</artifactId>
    <version>${openMRSVersion}</version>
    <type>test-jar</type>
    <scope>test</scope>
</dependency>

So, we basically use the openmrs-test project to declare dependencies on
which the openmrs tests are going to depend on.
Hope that clears it...


---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


On 18 September 2011 21:11, jriley <[email protected]> wrote:

> Hello-
>
> There are no openmrs-test.jars in the 1.8.x directories in the repository,
> only poms.  That wasn't the case for 1.7.x .  Is this a bug or a feature?
> If feature, how should I change my project's pom.xml?
>
>
> Thanks-
> Janet
>
>
> --
> View this message in context:
> http://openmrs-mailing-list-archives.1560443.n2.nabble.com/1-8x-openmrs-test-jars-not-in-repository-tp6805986p6805986.html
> Sent from the Developers mailing list archive at Nabble.com.
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to