mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
test(runner): summary reports no unsupported verbs on a clean run
This commit is contained in:
1 parent
58b57d8f3c
commit
0fa6968a5a
1 file changed
+5
@@ -125,6 +125,11 @@ func TestRunner_HappyPathStepsAndTraces(t *testing.T) {
|
|||||||
if len(summary.Violations) != 0 {
|
if len(summary.Violations) != 0 {
|
||||||
t.Errorf("no violations expected, got %v", summary.Violations)
|
t.Errorf("no violations expected, got %v", summary.Violations)
|
||||||
}
|
}
|
||||||
|
// Every builtin verb is supported on every platform, so a clean run must
|
||||||
|
// report no unsupported verbs (the runner still wires the field through).
|
||||||
|
if len(summary.UnsupportedVerbs) != 0 {
|
||||||
|
t.Errorf("expected no unsupported verbs, got %v", summary.UnsupportedVerbs)
|
||||||
|
}
|
||||||
|
|
||||||
actions := state.mock.Actions()
|
actions := state.mock.Actions()
|
||||||
if !containsAction(actions, mockdriver.ActionTapSelector, "id:next") {
|
if !containsAction(actions, mockdriver.ActionTapSelector, "id:next") {
|
||||||
|
|||||||
Reference in new issue
Block a user