massenz / go-statemachine

A basic implementation of a Finite State Machine in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase test coverage in the `api` package

massenz opened this issue · comments

This currently stands at ~30%, and we should bring it up to >70%:

└─( make cov

ok  	github.com/massenz/go-statemachine/api	  	0.016s	coverage: 30.9% of statements
ok  	github.com/massenz/go-statemachine/grpc	 	0.039s	coverage: 89.1% of statements
ok  	github.com/massenz/go-statemachine/pubsub	0.918s	coverage: 75.6% of statements
ok  	github.com/massenz/go-statemachine/server	0.014s	coverage: 72.4% of statements
ok  	github.com/massenz/go-statemachine/storage	0.013s	coverage: 72.3% of statements