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

Function TestBreakTimer

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

Source from the content-addressed store, hash-verified

93}
94
95func TestBreakTimer(t *testing.T) {
96 output, configuration := setup(t)
97 configuration.NotifyCommand = ""
98 configuration.VoiceCommand = ""
99
100 err := startBreakTimer("1", configuration)
101
102 assertNoError(t, err)
103 assertOutputContains(t, output, "1 min break timer ends at approx.")
104 assertOutputContains(t, output, "So take a break now! :)")
105}
106
107func TestBreakTimerExportFunction(t *testing.T) {
108 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setupFunction · 0.85
startBreakTimerFunction · 0.85
assertNoErrorFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected