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

Function TestTimer

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

Source from the content-addressed store, hash-verified

52}
53
54func TestTimer(t *testing.T) {
55 output, configuration := setup(t)
56 configuration.NotifyCommand = ""
57 configuration.VoiceCommand = ""
58
59 err := startTimer("1", configuration)
60
61 assertNoError(t, err)
62 assertOutputContains(t, output, "1 min timer ends at approx.")
63 assertOutputContains(t, output, "Happy collaborating! :)")
64}
65
66func TestTimerExportFunction(t *testing.T) {
67 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setupFunction · 0.85
startTimerFunction · 0.85
assertNoErrorFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected