mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
feat(testrun): surface unsupported verbs in run report
This commit is contained in:
1 parent
1a17734ce0
commit
dba182b96f
1 file changed
+5
@@ -7,6 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/priyanshujain/sanderling/internal/android"
|
"github.com/priyanshujain/sanderling/internal/android"
|
||||||
@@ -174,6 +175,10 @@ func Execute(ctx context.Context, options Options, stdout io.Writer) error {
|
|||||||
fmt.Fprintf(stdout, " step %d: %v\n", violation.StepIndex, violation.Properties)
|
fmt.Fprintf(stdout, " step %d: %v\n", violation.StepIndex, violation.Properties)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if len(summary.UnsupportedVerbs) > 0 {
|
||||||
|
fmt.Fprintf(stdout, "unsupported on %s: %s\n",
|
||||||
|
options.Platform, strings.Join(summary.UnsupportedVerbs, ", "))
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user