Demo of integration with Probe Dock and Probe Dock RT for Arquillian.
- Java 7+
- Maven 3+
Note: see the Probe Dock RT requirements for more details.
- Node.js 0.12+
- NPM 2.12+
-
If not done, install Probe Dock RT.
-
Clone this repository.
-
Be sure you have prepared the Probe Dock RT configuration in step 1. To start Probe Dock RT, you have to run the command
probedock-rt
as describe in the usage section of Probe Dock RT. -
Run the test via maven with
mvn clean install
on the root pom project. Arquillian@RunWith
class will take care to setup the tests and to run them. -
You will see various result in the user interface of Probe Dock RT.
-
Now you can continue to the Probe Dock setup. If already registered, skip this step. Do the registration on the trial server and create your account. You will receive an email confirmation with a link.
-
Create the project in your organization on Probe Dock. First, access the projects' page and click on the
Add a new project
button. You can use the namearquillian-sandbox
for example for both name and display name. You can leave the description empty for the demo. -
Once the project is created, you should follow the
Getting started
guide to setup your project. The guide will invite you to setup your main configuration file and the project configuration file. For this project, you must place the fileprobedock.yml
in<projectRootFolder>/src/test/resources/
. -
Run again
mvn clean install
to execute the tests. In addition of the test results shown in Probe Dock RT, you will also see results on Probe Dock on the dashboard. You are able to see the result details by clicking on the report line. -
Now you can play a bit with the tests. Break some tests and see the results on both interfaces. Play with the
@ProbeTest
and@ProbeTestClass
annotations. You can also read the documentation of Probe Dock Junit and Probe Dock RT Arquillian Extension for more details about the probes used to send the test results. You have also several information on the library used by both probes. Finally, you will find the list of probes and libraries on these pages: Probe Dock Probes and Probe Dock RT Probes.
- Fork
- Create a topic branch -
git checkout -b feature
- Push to your branch -
git push origin feature
- Create a pull request from your branch
Please add a changelog entry with your name for new features and bug fixes.
probedock-demo-itf is licensed under the MIT License. See LICENSE.txt for the full text.