Skip to content

probedock/probedock-demo-junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

probedock-demo-junit

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

Requirements

  • Java 6+
  • Maven 3.1
  • Node.js 0.12+
  • NPM 2.12+

Setup and 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 test. At this stage, you will see various result in the user interface of Probe Dock RT.

  5. Now you can continue to the Probe Dock setup. If already registered, skip this step. Do the registration on the demo server and create your account. You will receive an email confirmation with a link.

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

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

  8. Once again, you can run the test via maven with mvn clean test. 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.

  9. 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 Junit 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-junit is licensed under the MIT License. See LICENSE.txt for the full text.

About

Demonstration of Probe Dock integration with Junit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published