-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpected.log
More file actions
73 lines (73 loc) · 2.34 KB
/
expected.log
File metadata and controls
73 lines (73 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[32mMain Suite[0m
[32mSuite 1[0m
[32mSuite 2[0m
[90mBefore each test in Suite 2[0m
[37mThis test passes in Suite 2[0m
[32m ✅ passed: should pass in Suite 2[0m
All tests passed!
Summary: 1 passed, 0 failed, 0 pending
Total time: 00:00:00.0078899
[32mA larger test suite[0m
[37mTop level info message[0m
[90mBefore each test[0m
[37mThis test passes[0m
[90mAfter each test[0m
[32m ✅ passed: should pass[0m
[90mBefore each test[0m
[37mThis test fails[0m
[90mAfter each test[0m
[31m ❌ failed: should fail - Intentional failure[0m
[90mBefore each test[0m
[90mAfter each test[0m
[90m ❔ pending: This is a pending test[0m
[32mNested suite[0m
[90mUse beforeEach and afterEach for setup and teardown[0m
[90mBefore each test[0m
[37mNested test passes[0m
[90mAfter each test[0m
[32m ✅ passed: should also pass[0m
[32mArithmetic[0m
[32mAddition[0m
[90mBefore each test[0m
[90mAfter each test[0m
[32m ✅ passed: should add two numbers correctly[0m
[90mBefore each test[0m
[90mAfter each test[0m
[32m ✅ passed: should handle negative numbers[0m
[32mFaulty Addition[0m
[90mBefore each test[0m
[90mAfter each test[0m
[31m ❌ failed: should fail when adding incorrect numbers - Expected 5 but got 4[0m
There were 2 test failures:
- [31mA larger test suite / should fail - Intentional failure[0m
- [31mA larger test suite / Arithmetic / Faulty Addition / should fail when adding incorrect numbers - Expected 5 but got 4[0m
Summary: 4 passed, 2 failed, 1 pending
Total time: 00:00:00.0049374
TAP version 14
1..7
ok should pass
not ok should fail
---
message: Intentional failure
severity: fail
...
ok This is a pending test # SKIP
ok should also pass
ok should add two numbers correctly
ok should handle negative numbers
not ok should fail when adding incorrect numbers
---
message: Expected 5 but got 4
severity: fail
...
TAP version 14
1..7
[32mAsync Tests[0m
[90mBefore each async test[0m
[32m ✅ passed: should run an async test[0m
[90mBefore each async test[0m
[31m ❌ failed: should handle async failure - Intentional async failure[0m
There were 1 test failures:
- [31mAsync Tests / should handle async failure - Intentional async failure[0m
Summary: 1 passed, 1 failed, 0 pending
Total time: 00:00:00.4129414