mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
87170c3f92
This commit adds support for running tests that match a regular expression. Fixes: https://github.com/nodejs/node/issues/42984
41 lines
806 B
Plaintext
41 lines
806 B
Plaintext
TAP version 13
|
|
# Subtest: enabled and only
|
|
# Subtest: enabled
|
|
ok 1 - enabled
|
|
---
|
|
duration_ms: *
|
|
...
|
|
# Subtest: disabled
|
|
ok 2 - disabled # SKIP test name does not match pattern
|
|
---
|
|
duration_ms: *
|
|
...
|
|
1..2
|
|
ok 1 - enabled and only
|
|
---
|
|
duration_ms: *
|
|
...
|
|
# Subtest: enabled but not only
|
|
ok 2 - enabled but not only # SKIP 'only' option not set
|
|
---
|
|
duration_ms: *
|
|
...
|
|
# Subtest: only does not match pattern
|
|
ok 3 - only does not match pattern # SKIP test name does not match pattern
|
|
---
|
|
duration_ms: *
|
|
...
|
|
# Subtest: not only and does not match pattern
|
|
ok 4 - not only and does not match pattern # SKIP 'only' option not set
|
|
---
|
|
duration_ms: *
|
|
...
|
|
1..4
|
|
# tests 4
|
|
# pass 1
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 3
|
|
# todo 0
|
|
# duration_ms *
|