MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestBreakTimerNotANumber

Function TestBreakTimerNotANumber

timer_test.go:86–93  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

84}
85
86func TestBreakTimerNotANumber(t *testing.T) {
87 output, configuration := setup(t)
88
89 err := startBreakTimer("NotANumber", configuration)
90
91 assertError(t, err, "The parameter must be an integer number greater then zero")
92 assertOutputContains(t, output, "The parameter must be an integer number greater then zero")
93}
94
95func TestBreakTimer(t *testing.T) {
96 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setupFunction · 0.85
startBreakTimerFunction · 0.85
assertErrorFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected