uiatotap

1.0.2 • Public • Published

uiatotap build status

A filter that turns UIAutomation output into TAP output

Install

npm install -g uiatotap

Example

With a runtests.sh file containing something like this

#!/usr/bin/env bash 
 
instruments -w "<deviceid>" -t "<template path>" "path/to/My.app" -e UIASCRIPT "./uiautomation.js" -e UIARESULTSPATH "./output"

Pipe the output through uiatotap

./runtests.sh | uiatotap

Outputs

TAP version 13
# Add Single Template
ok 1 correct title
ok 2 correct duration display
not ok 3 correct Fade In display
ok 4 correct Fade Out display
ok 5 did add template item
 
1..5
# tests 5
# pass  4
 
# fail  1

Package Sidebar

Install

npm i uiatotap

Weekly Downloads

11

Version

1.0.2

License

none

Last publish

Collaborators

  • nrw