Skip to content

wowselim/async-testing

Repository files navigation

Testing Vert.x Applications in Kotlin

Build

Structure

This project consists of a simple verticle that provides two api endpoints:

  • /health replies with {"status": "up"} to indicate that the service is up and running.
  • /db-health replies with either {"status": "up"}, or {"status": "down"}, depending on database connectivity.

It also includes the following example tests as a starting point for testing Vert.x applications in Kotlin.

  1. Comparison between Java and Kotlin test code
  2. Testing with full Verticle deployment
  3. Integration testing with a containerized database