UNPKG

12.7 kBMarkdownView Raw
1### 4.0.2 (Feb-26-2018)
2
3* Add support for configuring callback - [PR#135](https://github.com/gkushang/cucumber-html-reporter/pull/135)
4
5### 4.0.1 (Feb-06-2018)
6
7* Support to attach Video files as `text/html` to the report - [PR#132](https://github.com/gkushang/cucumber-html-reporter/pull/132)
8
9### 4.0.0 (Feb-02-2018)
10
11* Support for Cucumber 4. Duration is now in Nanoseconds.
12* Fix issue: [#130](https://github.com/gkushang/cucumber-html-reporter/issues/130)
13
14### 3.0.4 (Sep-20-2017)
15
16* Fix for Cucumber V2, mime_type
17
18### 3.0.3 (Sep-20-2017)
19
20* Update outdated dependencies [PR#115](https://github.com/gkushang/cucumber-html-reporter/pull/115)
21
22### 3.0.2 (Sep-20-2017)
23
24* Add Backward compatibility for Cucumber V2 and V3. Add styling to Keywords GWT on HTML Report [PR#114](https://github.com/gkushang/cucumber-html-reporter/pull/114)
25
26
27### 3.0.1 (Aug-23-2017)
28
29* Feature: update to simple theme report [PR#106](https://github.com/gkushang/cucumber-html-reporter/pull/106)
30* Fix issues: [#101](https://github.com/gkushang/cucumber-html-reporter/issues/101), [#98](https://github.com/gkushang/cucumber-html-reporter/issues/98)
31
32
33### 3.0.0 (Aug-22-2017)
34
35* Support for Cucumber 3 [PR#104](https://github.com/gkushang/cucumber-html-reporter/pull/104)
36* Use `cucumber-html-reporter@2.0.3` for < Cucumber@3
37
38### 2.0.3 (Jul-17-2017)
39
40* Escape HTML on step name & fix <p> and <div> order for block 'scenario-container' [PR#97](https://github.com/gkushang/cucumber-html-reporter/pull/97). Resolve Issue [#52](https://github.com/gkushang/cucumber-html-reporter/issues/52)
41
42
43### 2.0.2 (Jul-10-2017)
44
45* Support scoped packages [PR#93](https://github.com/gkushang/cucumber-html-reporter/pull/93)
46
47* Fix issue[#85](https://github.com/gkushang/cucumber-html-reporter/issues/85) with Screenshot attachments with Selenium 3 & Cucumber 2 [PR#95](https://github.com/gkushang/cucumber-html-reporter/pull/95)
48
49
50### 2.0.1 (Jul-07-2017)
51
52* Save screenshots into custom directory [PR#88](https://github.com/gkushang/cucumber-html-reporter/pull/88)
53
54* Added support for JSON attachments [PR#89](https://github.com/gkushang/cucumber-html-reporter/pull/89)
55
56 Based on MIME type of the attachment. Payload is expected to be base64-encoded (this is based on the existing behaviour of the Cucumber Reports plugin for Jenkins).
57
58* Add tests for Save Screenshots & refactor [PR#91](https://github.com/gkushang/cucumber-html-reporter/pull/91)
59
60
61### 2.0.0 (Jun-09-2017)
62
63##### Support for Cucumber 2
64
65* Cucumber 2 [PR#81](https://github.com/gkushang/cucumber-html-reporter/pull/81). Resolves Issues [#73](https://github.com/gkushang/cucumber-html-reporter/issues/73),[#72](https://github.com/gkushang/cucumber-html-reporter/issues/72), [#61](https://github.com/gkushang/cucumber-html-reporter/issues/61), [#55](https://github.com/gkushang/cucumber-html-reporter/issues/55)
66 * Duration is reported as Milliseconds
67 * Attachments are now plain text without encoding
68 * DRY the templates and HTML scripts
69 * Run Travis-CI with Node@7
70 * Disable the Strict mode to test pending/undefined steps scenarios
71
72* Use `cucumber-html-reporter@0.5.0` for < Cucumber@2
73
74### 0.5.0 (Jun-01-2017)
75
76##### Enhancement
77
78* Introducing new Template `Hierarchy` from the [Proposal](https://github.com/gkushang/cucumber-html-reporter/issues/75), [PR#76](https://github.com/gkushang/cucumber-html-reporter/pull/76) & [PR#77](https://github.com/gkushang/cucumber-html-reporter/pull/77)
79 * The idea is to render features under respective folder hierarchy. Best case when your features are organized under feature-folders.
80* Enhance the Step Duration. Instead of 0s, show 1ms.
81* Backward compatible
82
83
84### 0.4.2 (Apr-27-2017)
85
86##### Fix
87
88* Fix to show '0s' if timestamp is in nanoseconds
89
90
91### 0.4.1 (Apr-27-2017)
92
93##### Enhancement
94
95* Add `brandTitle` to display on report. Checkout README for more details.
96
97##### Fix
98
99* Step duration time in html report always shows 0s [Issue#61](https://github.com/gkushang/cucumber-html-reporter/issues/61) [PR#62](https://github.com/gkushang/cucumber-html-reporter/pull/62)
100* Should not count Before/After hooks if they are hidden [Issue#63](https://github.com/gkushang/cucumber-html-reporter/issues/63) [PR#64](https://github.com/gkushang/cucumber-html-reporter/pull/64)
101
102
103### 0.4.0 (Mar-24-2017)
104
105* Supports Node versions >0.12
106
107##### Revert the change
108
109* Use fs-extra [PR#59](https://github.com/gkushang/cucumber-html-reporter/pull/59)
110
111
112### 0.3.9 (Mar-24-2017)
113
114* Supports Node versions <0.12
115
116##### Fix
117
118* Remove support for fs-extra for backward compatibility to support Node versions <0.12
119
120
121### 0.3.8 (Mar-23-2017)
122
123##### Fix
124
125* Use fs-extra instead of node-fs [PR#50](https://github.com/gkushang/cucumber-html-reporter/pull/50)
126* Make chai a dev dependency [PR#51](https://github.com/gkushang/cucumber-html-reporter/pull/51)
127* Bootstrap template fixes [PR#56](https://github.com/gkushang/cucumber-html-reporter/pull/56)
128* Fix Travis CI [PR#57](https://github.com/gkushang/cucumber-html-reporter/pull/57)
129
130
131### 0.3.7 (Dec-06-2016)
132
133##### Fix
134
135* Sanitize Screenshot filename [Issue#45](https://github.com/gkushang/cucumber-html-reporter/issues/45) [PR#46](https://github.com/gkushang/cucumber-html-reporter/pull/46)
136
137
138### 0.3.6 (Dec-06-2016)
139
140##### Fix
141
142* Failure in Before hook should fail the Feature/Scenario, Add slice to rest of the scenario pie charts [PR#44](https://github.com/gkushang/cucumber-html-reporter/pull/44)
143
144
145### 0.3.5 (Nov-29-2016)
146
147##### Enhancements
148
149* Colors
150 * Making labels & colors consistent on report [PR#42](https://github.com/gkushang/cucumber-html-reporter/pull/42)
151
152
153### 0.3.4 (Nov-28-2016)
154
155##### Enhancements
156
157* Step Duration
158 * light gray the step duration to distinguish from the GWT Step description
159
160
161### 0.3.3 (Nov-28-2016)
162
163##### Enhancements
164
165* Ambiguous Steps
166 * show ambiguous status on the pie-chart, features, scenarios and at steps level [PR#40](https://github.com/gkushang/cucumber-html-reporter/pull/40)
167
168
169### 0.3.2 (Nov-21-2016)
170
171##### Enhancements
172
173* Show Metadata
174 * additional info about your test environment, browser, platform, app version, mode of execution, stage, and so on. [PR#39](https://github.com/gkushang/cucumber-html-reporter/pull/39)
175
176
177### 0.3.1 (Nov-18-2016)
178
179##### Enhancements
180
181* Adding latest Previews to the readme for all themes
182* Add more snapshots for the user's review
183
184### 0.3.0 (Nov-18-2016)
185
186* Deprecate Store Screenshots
187 * Deprecate the option to store screenshot to the disk by default. If you still want to Store a screenShot to the directory, you can pass an option `storeScreenShots` to the reporter.
188
189##### Enhancements
190
191* Inline Screenshots
192 * Add support for inline png screenshots, fix package.json lookup, Fix success log: [PR#32](https://github.com/gkushang/cucumber-html-reporter/pull/32)
193* For backward compatibility, adds an option to store screenshot to a directory: [PR#38](https://github.com/gkushang/cucumber-html-reporter/pull/38)
194
195
196##### `storeScreenShots`
197Type: `Boolean`
198Default: `undefined`
199
200`true`: Stores all screenShots stores the screenShots to the default directory. It creates a directory 'screehshot' if does not exists.
201`false` or `undefined` : Does not store screenShots but attaches screenShots as a step-inline images to HTML report
202
203##### Fixes
204
205* Fixes [ISSUE#29](https://github.com/gkushang/cucumber-html-reporter/issues/29)
206
207
208### 0.2.17 (Nov-17-2016)
209
210##### Enhancements
211
212* Tags on Report
213 * Display Tags on Feature & Scenarios: [PR#35](https://github.com/gkushang/cucumber-html-reporter/pull/35)
214* Filter Repeated Tags
215 * Filter Tags from Scenarios which is already displayed at Feature Level & add some styling to Tags [PR#37](https://github.com/gkushang/cucumber-html-reporter/pull/37)
216
217
218### 0.2.16 (Oct-07-2016)
219
220##### Enhancements
221
222* Scenario Description
223 * Show Scenario Description on HTML report: [ISSUE#33](https://github.com/gkushang/cucumber-html-reporter/issues/33)
224
225
226### 0.2.15 (Sep-28-2016)
227
228##### Fix
229
230* Fix for older node versions: [ISSUE#30](https://github.com/gkushang/cucumber-html-reporter/issues/30)
231
232
233### 0.2.14 (Sep-27-2016)
234
235##### Enhancements
236
237* Option to add custom name to the project & adds footer: [PR#28](https://github.com/gkushang/cucumber-html-reporter/pull/28)
238
239
240### 0.2.13 (Sep-27-2016)
241
242##### Enhancements
243
244* Show time taken by each steps to complete the execution on report: [PR#17](https://github.com/gkushang/cucumber-html-reporter/pull/17) & [PR#27](https://github.com/gkushang/cucumber-html-reporter/pull/27)
245
246
247### 0.2.12 (Sep-27-2016)
248
249##### Fixes
250
251* Show hidden hooks if they fail: [PR#25](https://github.com/gkushang/cucumber-html-reporter/pull/25)
252
253
254### 0.2.11 (Sep-26-2016)
255
256##### Fixes
257
258* Fix typo on README: [PR#22](https://github.com/gkushang/cucumber-html-reporter/pull/22)
259
260* Fix Foundation template for local: [PR#23](https://github.com/gkushang/cucumber-html-reporter/pull/23)
261
262
263### 0.2.10 (Sep-22-2016)
264
265##### Enhancements
266
267* Conditionally hide hidden steps from the report: [PR#20](https://github.com/gkushang/cucumber-html-reporter/pull/20)
268
269 * After & Before hooks are hidden on Cucumber JSON file. They will be visible on the report only if it has Info or Screenshot attached to it.
270
271
272### 0.2.9 (Sep-08-2016)
273
274##### Enhancements
275
276* Ignore the bad JSON files when consolidating from the JSON Directory: [PR#13](https://github.com/gkushang/cucumber-html-reporter/pull/13)
277
278 * Set the option `ignoreBadJsonFile` to `true` as a boolean to ignore the Bad JSON files
279
280
281##### BugFix
282
283* Fixed the issue when report was breaking with the Cucumber's Doc String: [Issue#14](https://github.com/gkushang/cucumber-html-reporter/issues/14)
284
285
286### 0.2.8 (Aug-30-2016)
287
288##### Enhancements
289
290* Generate consolidated report from multiple JSON files: [PR#12](https://github.com/gkushang/cucumber-html-reporter/pull/12)
291
292 * Provide the path of `jsonDir` to generate consolidated report,
293
294
295``` bash
296
297var reporter = require('cucumber-html-reporter');
298...
299...
300
301var options = {
302 theme: 'bootstrap',
303 jsonDir: 'test/reports',
304 output: 'test/report/cucumber_report.html',
305 reportSuiteAsScenarios: true,
306 launchReport: true
307 };
308
309 reporter.generate(options);
310```
311
312### 0.2.7 (Aug-16-2016)
313
314##### Enhancements
315
316* Launch report automatically after test ends
317* Pass a flag `launchReport` to the options
318
319
320``` bash
321
322var reporter = require('cucumber-html-reporter');
323...
324...
325
326var options = {
327 theme: 'bootstrap',
328 jsonFile: 'test/report/cucumber_report.json',
329 output: 'test/report/cucumber_report.html',
330 reportSuiteAsScenarios: true,
331 launchReport: true
332 };
333
334 reporter.generate(options);
335```
336
337
338### 0.2.6 (Jul-29-2016)
339
340##### BugFix
341
342* Fixed the issue where Error messages were not printing on the report.
343
344### 0.2.5 (Jul-28-2016)
345
346##### Enhancements
347
348* trim the text to be printed on report
349
350### 0.2.4 (Jul-28-2016)
351
352##### BugFix
353
354* https://github.com/mavdi/grunt-cucumberjs/issues/86
355
356### 0.2.3 (Jul-26-2016)
357
358##### Enhancements
359
360* Published https://github.com/gkushang/cucumber-html-reporter/pull/10 Set charset as utf-8
361
362### 0.2.2 (Jul-21-2016)
363
364##### BugFix
365
366* Fixes https://github.com/gkushang/cucumber-html-reporter/issues/7
367
368### 0.2.1 (Jul-12-2016)
369
370##### Enhancements
371
372* Recursively create HTML report directory if does not exists
373* Remove outdated chai-fs depedency and use chai-should assertions
374* Lighter the background color or Scenario attachments
375
376
377### 0.2.0 (Jul-10-2016)
378
379##### Support for Cucumber@1.2.0 version
380
381* Screenshot attachment support for Cucumber release >= @1.2.0 (https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md#bug-fixes-1)
382
383
384### 0.1.6 (Jul-07-2016)
385
386##### Enhancements
387
388* Format feature descriptions on report
389* Add overflow scroll bar for the bigger data-table
390* print error messaged in the pre
391
392
393### 0.1.5 (Jul-05-2016)
394
395##### Enhancements
396
397* Show feature description on report
398
399* Updated README
400
401##### Bug fixes
402
403* Fix bug when cucumber error message has kind of html tags as a string, e.g. <object> is not defined.
404
405
406### 0.1.4 (Jun-28-2016)
407
408##### Enhancements
409
410* Using `path` instead of separators to make platform agnostic
411
412* Updated tests `hooks`
413
414* README updated with the instructions on how to integrate reporter to the cucumber hooks
415
416
417### 0.1.3 (Jun-27-2016)
418
419##### Bug fixes
420
421* Fixed a bug in template path
422
423* README updated
424
425
426### 0.1.1 (Jun-27-2016)
427
428##### New Features
429
430* Tooltip for Scenarios or Features in the HEADER based on reportSuiteAsScenarios flag
431
432* Add an optional `callback` for the `generate(options, callback)` function
433
434* Report `pending` steps in scenarios for bootstrap & foundation themes
435
436* Refactored and added more tests & validations