Skip to content

Instantly share code, notes, and snippets.

@debasishg
Created November 27, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debasishg/20d5badbe7a09a7ec71d0ca3017d1096 to your computer and use it in GitHub Desktop.
Save debasishg/20d5badbe7a09a7ec71d0ca3017d1096 to your computer and use it in GitHub Desktop.
minitest from sbt
object KafkaStreamsTest extends TestSuite[KafkaLocalServer] with Serializers {
def setup(): KafkaLocalServer = {
val s = KafkaLocalServer(true)
s.start()
s
}
def tearDown(server: KafkaLocalServer): Unit = {
server.stop()
}
test("should count words") { server =>
//..
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment