testing

command
v0.0.0-...-17e8eef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Test Example

This example shos how to test application code with goka. It can be executed with go run main.go but it does not do much, because no events are produced by default. It is more about the test code.

How to test with goka

Testing application code is supported in two ways:

  • write unit tests mocking goka.Context
  • write integration tests mocking the communication with Kafka.

Mocking Context

TODO

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL