input-output-hk / cicero

event-driven automation for Nomad
https://handbook.cicero.ci.iog.io
41 stars 11 forks source link

[CIC-52] Tests with mocked services #27

Closed biandratti closed 2 years ago

rschardt commented 2 years ago

@biandratti How do I run those unit tests? 'go test' does this -> ? github.com/input-output-hk/cicero [no test files]

biandratti commented 2 years ago

@biandratti How do I run those unit tests? 'go test' does this -> ? github.com/input-output-hk/cicero [no test files]

Just you need to execute the following line: go test -cover ./...

Let me add a new change in the mocks, to separate them from test.