├── .eslintignore ├── docs ├── example.png └── index.html ├── test ├── fixtures │ ├── empty.txt │ ├── test-with-plan-as-range.txt │ ├── flat.txt │ └── nested.txt └── index.js ├── lib ├── style.css └── generate.js ├── .tryitout ├── package.json ├── .gitignore ├── bin └── index.js ├── README.md ├── CHANGELOG.md └── index.js /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | docs 4 | -------------------------------------------------------------------------------- /docs/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielcsapo/tap-html/HEAD/docs/example.png -------------------------------------------------------------------------------- /test/fixtures/empty.txt: -------------------------------------------------------------------------------- 1 | TAP version 13 2 | # test this 3 | 4 | 1..0 5 | # tests 0 6 | # pass 0 7 | 8 | # ok 9 | -------------------------------------------------------------------------------- /test/fixtures/test-with-plan-as-range.txt: -------------------------------------------------------------------------------- 1 | 1..2 2 | # Some description of a test 3 | ok 1 Yep a test description 4 | # Some other description of a test 5 | ok 2 And this one is another test description 6 | -------------------------------------------------------------------------------- /test/fixtures/flat.txt: -------------------------------------------------------------------------------- 1 | TAP version 13 2 | # serial connection 3 | ok 1 got serialport 4 | # ble 5 | ok 2 got device discover 6 | ok 3 device connected 7 | ok 4 got characteristic 8 | ok 5 subcribed 9 | ok 6 got round-trip message 10 | 11 | 1..6 12 | # tests 6 13 | # pass 6 14 | 15 | # ok 16 | -------------------------------------------------------------------------------- /test/fixtures/nested.txt: -------------------------------------------------------------------------------- 1 | TAP version 13 2 | # json-ex 3 | # should be able to stringify a basic javascript object 4 | ok 1 should be equivalent 5 | # should be able to stringify a complex javascript object 6 | ok 2 should be equal 7 | # should be able to parse a complex object 8 | ok 3 should be equal 9 | ok 4 should be equal 10 | ok 5 should be equal 11 | ok 6 should be equal 12 | # should be able to stringify a complex javascript object and parse it back 13 | ok 7 should be equal 14 | ok 8 should be equal 15 | ok 9 should be equal 16 | ok 10 should be equal 17 | ok 11 should be equal 18 | ok 12 should be equal 19 | ok 13 should be equal 20 | 21 | 1..13 22 | # tests 13 23 | # pass 13 24 | 25 | # ok 26 | -------------------------------------------------------------------------------- /lib/style.css: -------------------------------------------------------------------------------- 1 | /* Overrides */ 2 | 3 | html, body { 4 | margin: 0; 5 | padding: 0; 6 | font-family: 'Open Sans', Helvetica, sans-serif; 7 | width: 100%; 8 | height: 100%; 9 | } 10 | 11 | h1, h3 { 12 | margin-bottom: 0px; 13 | margin-top: 0px; 14 | } 15 | 16 | .navbar { 17 | position: fixed; 18 | top: 0; 19 | } 20 | 21 | .navbar-title { 22 | margin-top: 25px !important; 23 | } 24 | 25 | #root { 26 | padding-bottom: 60px; 27 | } 28 | 29 | .list, .list-item { 30 | border-radius: 0 !important; 31 | border-right: 0 !important; 32 | border-left: 0 !important; 33 | } 34 | 35 | .badge { 36 | height: 25px; 37 | width: 25px; 38 | font-size: 10px; 39 | padding: 1px !important; 40 | display: inline-block !important; 41 | line-height: 25px; 42 | } 43 | -------------------------------------------------------------------------------- /.tryitout: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | title: 'tap-html', 3 | nav: { 4 | Source: 'https://github.com/gabrielcsapo/tap-html', 5 | Example: './example/index.html' 6 | }, 7 | body: ` 8 |
tape test | tap-html --out report.html12 |
14 |