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

Function TestTimerNotANumber

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

Source from the content-addressed store, hash-verified

43}
44
45func TestTimerNotANumber(t *testing.T) {
46 output, configuration := setup(t)
47
48 err := startTimer("NotANumber", configuration)
49
50 assertError(t, err, "The parameter must be an integer number greater then zero")
51 assertOutputContains(t, output, "The parameter must be an integer number greater then zero")
52}
53
54func TestTimer(t *testing.T) {
55 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setupFunction · 0.85
startTimerFunction · 0.85
assertErrorFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected