Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1022 Bytes

readme.md

File metadata and controls

28 lines (19 loc) · 1022 Bytes

Hono Integration Tests

This module contains integration tests for Hono. The tests are executed against Docker images of the Hono components.

Prerequisites

In order to run the tests you will need the following:

  • a working Docker Engine installation (either local or on a separate host)
  • the Docker images of the Hono components. See the Developer Guide on the project web site for instructions on building the Docker images.

Running the Tests

Run the tests by executing the following command from the tests directory (add -Ddocker.host=tcp://${host}:${port} if Docker is not installed locally)

# in directory: hono/tests/
mvn verify -Prun-tests

This starts the following Docker containers and runs the test cases against them

  • Hono Authentication service
  • Hono Device Registration service
  • ActiveMQ Artemis message broker
  • Qpid Dispatch Router
  • Hono HTTP adapter
  • Hono MQTT adapter
  • Hono AMQP adapter
  • Hono CoAP adapter