Writing unit tests requiring the Petals Administration API

Version 1 by Christophe DENEUX
on Jun 23, 2014 10:27.

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
{section}
{column}

h1. Introduction

To unitary test a client of the Petals Administration API, it is needed to use a dedicated implementation not requiring a Petals ESB container.

Such a implementation was created to provide a mock for Petals Administration API: *Petals Administration Mock*.

h1. Installation

The Petals Administration Mock implementation is available as a Maven artifact to add to the POM of your project:
{code}
<project>
...
<dependencies>
...
<dependency>
<groupId>org.ow2.petals</groupId>
<artifactId>petals-admin-mock</artifactId>
<version>...</version>
<scope>test</scope>
</dependency>
...
</dependencies>
...
</project>
{code}

{column}
{column:width=35%}
{panel:title=Table of contents}{toc:outline=true}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list|showAnonymous=true|showCount=true|showLastTime=true}{panel}
{column}
{section}