philippus / akka-http-testkit-munit   0.0.1

Apache License 2.0 GitHub

🚧 test akka-http routes with munit

Scala versions: 2.13

akka-http-testkit-munit

build codecov Current Version Scala Steward badge license

akka-http-testkit-munit allows you to test your akka-http routes with munit. It provides a MunitRouteTest trait that you can mix in with your test classes to test your routes.

Installation

akka-http-testkit-munit is published for Scala 2.13. To start using it add the following to your build.sbt:

libraryDependencies += "nl.gn0s1s" %% "akka-http-testkit-munit" % "0.0.1"

akka-http-testkit, akka-stream-testkit and munit also need to be added as dependencies to your project.

Example usage

See the tests for an example.

Resources

License

The code is available under the Apache License, version 2.0.