1TAP version 13 2# Subtest: only = undefined 3ok 1 - only = undefined # SKIP 'only' option not set 4 --- 5 duration_ms: * 6 ... 7# Subtest: only = undefined, skip = string 8ok 2 - only = undefined, skip = string # SKIP 'only' option not set 9 --- 10 duration_ms: * 11 ... 12# Subtest: only = undefined, skip = true 13ok 3 - only = undefined, skip = true # SKIP 'only' option not set 14 --- 15 duration_ms: * 16 ... 17# Subtest: only = undefined, skip = false 18ok 4 - only = undefined, skip = false # SKIP 'only' option not set 19 --- 20 duration_ms: * 21 ... 22# Subtest: only = false 23ok 5 - only = false # SKIP 'only' option not set 24 --- 25 duration_ms: * 26 ... 27# Subtest: only = false, skip = string 28ok 6 - only = false, skip = string # SKIP 'only' option not set 29 --- 30 duration_ms: * 31 ... 32# Subtest: only = false, skip = true 33ok 7 - only = false, skip = true # SKIP 'only' option not set 34 --- 35 duration_ms: * 36 ... 37# Subtest: only = false, skip = false 38ok 8 - only = false, skip = false # SKIP 'only' option not set 39 --- 40 duration_ms: * 41 ... 42# Subtest: only = true, skip = string 43ok 9 - only = true, skip = string # SKIP skip message 44 --- 45 duration_ms: * 46 ... 47# Subtest: only = true, skip = true 48ok 10 - only = true, skip = true # SKIP 49 --- 50 duration_ms: * 51 ... 52# Subtest: only = true, with subtests 53 # Subtest: running subtest 1 54 ok 1 - running subtest 1 55 --- 56 duration_ms: * 57 ... 58 # Subtest: running subtest 2 59 ok 2 - running subtest 2 60 --- 61 duration_ms: * 62 ... 63 # Subtest: skipped subtest 1 64 ok 3 - skipped subtest 1 # SKIP 'only' option not set 65 --- 66 duration_ms: * 67 ... 68 # Subtest: skipped subtest 2 69 ok 4 - skipped subtest 2 # SKIP 'only' option not set 70 --- 71 duration_ms: * 72 ... 73 # Subtest: running subtest 3 74 ok 5 - running subtest 3 75 --- 76 duration_ms: * 77 ... 78 # Subtest: running subtest 4 79 # Subtest: running sub-subtest 1 80 ok 1 - running sub-subtest 1 81 --- 82 duration_ms: * 83 ... 84 # Subtest: running sub-subtest 2 85 ok 2 - running sub-subtest 2 86 --- 87 duration_ms: * 88 ... 89 # Subtest: skipped sub-subtest 1 90 ok 3 - skipped sub-subtest 1 # SKIP 'only' option not set 91 --- 92 duration_ms: * 93 ... 94 # Subtest: skipped sub-subtest 2 95 ok 4 - skipped sub-subtest 2 # SKIP 'only' option not set 96 --- 97 duration_ms: * 98 ... 99 1..4 100 ok 6 - running subtest 4 101 --- 102 duration_ms: * 103 ... 104 # Subtest: skipped subtest 3 105 ok 7 - skipped subtest 3 # SKIP 'only' option not set 106 --- 107 duration_ms: * 108 ... 109 # Subtest: skipped subtest 4 110 ok 8 - skipped subtest 4 # SKIP 111 --- 112 duration_ms: * 113 ... 114 1..8 115ok 11 - only = true, with subtests 116 --- 117 duration_ms: * 118 ... 119# Subtest: describe only = true, with subtests 120 # Subtest: `it` subtest 1 should run 121 ok 1 - `it` subtest 1 should run 122 --- 123 duration_ms: * 124 ... 125 # Subtest: `it` subtest 2 should not run 126 ok 2 - `it` subtest 2 should not run # SKIP 'only' option not set 127 --- 128 duration_ms: * 129 ... 130 1..2 131ok 12 - describe only = true, with subtests 132 --- 133 duration_ms: * 134 type: 'suite' 135 ... 136# Subtest: describe only = true, with a mixture of subtests 137 # Subtest: `it` subtest 1 138 ok 1 - `it` subtest 1 139 --- 140 duration_ms: * 141 ... 142 # Subtest: `it` async subtest 1 143 ok 2 - `it` async subtest 1 144 --- 145 duration_ms: * 146 ... 147 # Subtest: `it` subtest 2 only=true 148 ok 3 - `it` subtest 2 only=true 149 --- 150 duration_ms: * 151 ... 152 # Subtest: `it` subtest 2 only=false 153 ok 4 - `it` subtest 2 only=false # SKIP 'only' option not set 154 --- 155 duration_ms: * 156 ... 157 # Subtest: `it` subtest 3 skip 158 ok 5 - `it` subtest 3 skip # SKIP 'only' option not set 159 --- 160 duration_ms: * 161 ... 162 # Subtest: `it` subtest 4 todo 163 ok 6 - `it` subtest 4 todo # SKIP 'only' option not set 164 --- 165 duration_ms: * 166 ... 167 # Subtest: `test` subtest 1 168 ok 7 - `test` subtest 1 169 --- 170 duration_ms: * 171 ... 172 # Subtest: `test` async subtest 1 173 ok 8 - `test` async subtest 1 174 --- 175 duration_ms: * 176 ... 177 # Subtest: `test` subtest 2 only=true 178 ok 9 - `test` subtest 2 only=true 179 --- 180 duration_ms: * 181 ... 182 # Subtest: `test` subtest 2 only=false 183 ok 10 - `test` subtest 2 only=false # SKIP 'only' option not set 184 --- 185 duration_ms: * 186 ... 187 # Subtest: `test` subtest 3 skip 188 ok 11 - `test` subtest 3 skip # SKIP 'only' option not set 189 --- 190 duration_ms: * 191 ... 192 # Subtest: `test` subtest 4 todo 193 ok 12 - `test` subtest 4 todo # SKIP 'only' option not set 194 --- 195 duration_ms: * 196 ... 197 1..12 198ok 13 - describe only = true, with a mixture of subtests 199 --- 200 duration_ms: * 201 type: 'suite' 202 ... 203# Subtest: describe only = true, with subtests 204 # Subtest: subtest should run 205 ok 1 - subtest should run 206 --- 207 duration_ms: * 208 ... 209 # Subtest: async subtest should not run 210 ok 2 - async subtest should not run # SKIP 'only' option not set 211 --- 212 duration_ms: * 213 ... 214 # Subtest: subtest should be skipped 215 ok 3 - subtest should be skipped # SKIP 'only' option not set 216 --- 217 duration_ms: * 218 ... 219 1..3 220ok 14 - describe only = true, with subtests 221 --- 222 duration_ms: * 223 type: 'suite' 224 ... 2251..14 226# tests 40 227# suites 3 228# pass 15 229# fail 0 230# cancelled 0 231# skipped 25 232# todo 0 233# duration_ms * 234