Demonstration of Probe Dock and Probe Dock RT integration with Arquillian.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitignore
CHANGELOG.md
LICENSE.txt
README.md
pom.xml

README.md

probedock-demo-arquillian

Demo of integration with Probe Dock and Probe Dock RT for Arquillian.

Requirements

For the project

  • Java 7+
  • Maven 3+

For Probe Dock RT

Note: see the Probe Dock RT requirements for more details.

  • Node.js 0.12+
  • NPM 2.12+

Usage

  1. If not done, install Probe Dock RT.

  2. Clone this repository.

  3. 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.

  4. 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.

  5. You will see various result in the user interface of Probe Dock RT.

  6. 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.

  7. 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 name arquillian-sandbox for example for both name and display name. You can leave the description empty for the demo.

  8. 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 file probedock.yml in <projectRootFolder>/src/test/resources/.

  9. 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.

  10. 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.

Contributing

  • 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.

License

probedock-demo-itf is licensed under the MIT License. See LICENSE.txt for the full text.