testutils

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 1 Imported by: 0

README

Service test utilities

WithService

WithService provides a nop service for you to test service lifecycle functions if you'd like to perform end-to-end testing of your service. This generally isn't necessary from a service-owner perspective, but is used internally.

Documentation

Overview

Package testutils is the Service test utilities.

WithService

WithService provides a nop service for you to test service lifecycle functions if you'd like to perform end-to-end testing of your service. This generally isn't necessary from a service-owner perspective, but is used internally.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithService

func WithService(provider service.ModuleProvider, observer service.Observer, options []service.Option, fn func(service.Manager))

WithService is a test helper to instantiate a service

Types

This section is empty.

Jump to

Keyboard shortcuts

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