forked from gudwin/botbuilder-unit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.txt
178 lines (127 loc) · 4.71 KB
/
CHANGELOG.txt
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
- [FOREVER][Maintainability] Improve Error Messages
- [NO][Major] Introduce custom-specific exception classes
- [NO][Major] Support for validation on in array of messages
- [NO][Major] To test bot by another bot
- [NO][Major] Check message text first, at current moment suggested actions validated firstt
- [NO][Major] subscripts injection;
- [NO][Major] support Direct Line
- [NO][Major] support for several parallel conversations
- [NO][Major] ability to mock recognizers;
- support for internationalization
- [NO][Maintainability] extract log reporters to a separate library
- [NO][Maintainability] reorganize tests arround Messages (like BotMessage)
- [NO][Maintainability] provide a pipeline for deployment
-- run tests
-- validate that samples still valid
-- inject TOC
-- message that code ready to be published
- [NO][Discoverability] example for testing recognizer;
- [NO][Discoverability] example with subscript
- [NO] OneOfNextMessages(message, count ) validation step;
- [NO] TillResponseMessage(message) validation step;
- [NO] IgnoreTillMessage (messageText, maxCount = 0)
- [NO] prepare automated tests for log reporters;
--------------------------------
v 0.7.2
- [NO][Major] Toggleable pieces of report: current session state, dialog stack, loaded dialogs, execution time ?
- [NO][Maintainability] - integrate TOC injection
--------------------------------
v 0.7.1
- [OK][Discoverability] integrate code coverage
- [Maintainability] Improved Attachment Errors
--------------------------------
v 0.7.0
- [OK][Maintainability] Produce TestConnector default output
- [OK][Major] Test standalone dialog (autogenerate bot, session)
- [OK][Major] Test standalone middleware
-
--------------------------------
v 0.6.4
- [OK] Fix for suggested actions error description: display value
- [OK] Fix for error message, normalize output
- Fix for expected message feautre: display suggested actions
--------------------------------
v 0.6.3
- Fix for attachment validation by callback.
- Better error messages.
- Smoke tests for log reporters;
--------------------------------
v 0.6.2
- Removed attachment-related information from Prompt messages
- Custom headers for info messages
--------------------------------
v 0.6.1
- [OK] validation of rich cards and attachments;
- [OK][Major] validation of rich cards;
- [OK][Major] validation of attachments;
--------------------------------
v 0.6.0
- [OK] custom verification step
--------------------------------
v 0.5.4
- [OK] coverage deployment step
- build & inject TOC
--------------------------------
v 0.5.3
- [NO] support for conversation started by bot
- [NO] support for custom steps
- [NO] Ability to inject argument entities into message?
- [NO] Documentation updates
-- build & inject TOC
--------------------------------
v 0.5.3
- [OK] provide a set of examples
-- timmy (hello world)
-- session management
-- managing startup dialog
--------------------------------
v 0.5.1
- [] setup startup dialog;
- [] examples
--------------------------------
v 0.5.0
- [OK] session state management support;
--
- Session management, ability to set and get session values
- Ability to preconfigure start session value
Session steps:
{setSession : [value] },
{validateSession : [function]},
{dumpSession: [] }
// If session still not initialized fix a connector to preload needed session
--------------------------------
v 0.4.7
- support for suggestedActions;
--------------------------------
v 0.4.0
HIGHLIGHTS:
- [OK]colored output (disabled by default);
- [OK] callbacks changed to Promises
- [OK] support for test timeout;
- [OK] new output log;
Requirement Description:
- To be able to produce output in different modes:
-- short,
-- detail,
-- beauty, mode when the Library with try to simulate UI of a chat messenger, messages will be wrapped in colors
- To get rid of logging dependency
- To be able to specify output mode for a standalone test;
- To be able to setup default output mode globally
Actions required:
- Identify cases for output
- For cases provide a base adapter class
-
The way how the Library produces output has to be changed as current state overloaded with information.
--------------------------------
v 0.3.0
INCOMPATIBILITIES
- new list of arguments for "before" and "after" callbacks: config, bot;
- "before" and "after" should return a promise which will resolve or reject a current step;
- "user" and "bot" in case, if they are callbacks, should return promise, callback removed from arguments
Changes: new attribute for testing function - options:
unit(bot, script, options );
options = {
timeout : value
}
- int timeout, by default equal to 60000, zero value equals to infinity.
Fails the test, if time since the test started exceeds the value of attribute;