UNPKG

19.8 kBMarkdownView Raw
111.0.1 / 2021-12-01
2------------------
3- Fix legacy require
4
511.0.0 / 2021-11-25
6------------------
7- Update to Electron 16
8- Update to Mocha 9.x
9
1010.1.0 / 2021-06-17
11------------------
12- Update to Electron 13
13- Update Mocha and pin to 8.x (pre-ESM)
14
1510.0.0 / 2020-04-12
16------------------
17- Add --window-config option to configure renderer window. See [#174](#174)
18- Disable remote module in renderer test by default. --window-config can
19 be used to enable it.
20
219.3.3 / 2020-03-12
22------------------
23- Add console.assert support for renderer tests.
24
259.3.2 / 2020-20-06
26------------------
27- Fix renderer error handling. See [#170](#170)
28
299.3.1 / 2020-10-22
30------------------
31- Stop using `remote` module for console calls. [#166](#166)
32- Add --warnings option to print renderer warnings to console.
33
349.3.0 / 2020-10-19
35------------------
36- Update to Mocha 8.2.x
37
389.2.0 / 2020-09-29
39------------------
40- Add proper --preload option for renderer tests. [#164](#164)
41
429.1.0 / 2020-08-15
43------------------
44- Add --url option to load custom URLs or file paths. [#161](#161)
45
469.0.1 / 2020-07-07
47------------------
48- Fix --require handling in Mocha 8.x
49
509.0.0 / 2020-07-07
51------------------
52- Update to Mocha 8.x
53- Add support for Electron 10 beta
54
558.2.2 / 2020-05-08
56------------------
57- Force exit from cleanup script [#155](#155)
58- Update to mocha 7.1.x
59
608.2.1 / 2020-02-14
61------------------
62- Respect --full-trace option [#153](#153)
63
648.2.0 / 2020-01-09
65------------------
66- Update to mocha 7.x
67
688.1.2 / 2019-09-05
69------------------
70- Fix bad exit code 0 on some Renderer errors.
71- Fix missing default spec path 'test'.
72
738.1.1 / 2019-07-25
74------------------
75- Fix loading custom reporters in Renderer.
76
778.1.0 / 2019-07-20
78------------------
79- Update to mocha 6.2.x.
80
818.0.3 / 2019-06-21
82------------------
83- Let mocha handle uncaught errors in hooks.
84
858.0.2 / 2019-05-14
86------------------
87- Fix stdio from renderer process in Electron 5.
88
898.0.1 / 2019-04-09
90------------------
91- Electron 2.x backwards compatibility.
92
938.0.0 / 2019-04-08
94------------------
95- Support all Mocha CLI options.
96- Use `yargs` instead of `commander` (like Mocha).
97- Update to Mocha 6.1.
98- Drop support for Node.js 6 and older.
99
1007.0.0 / 2019-04-01
101------------------
102- Update to Mocha 6.
103- Support multiple --require-main scripts. [#136][#136]
104
1056.0.3 / 2018-06-07
106------------------
107- Prevent app suspension. See [#129][#129]
108
1096.0.2 / 2018-04-23
110------------------
111- Removed electron-prebuilt-compile.
112
1136.0.1 / 2018-03-01
114------------------
115- Update to Mocha 5.
116
1176.0.0 / 2018-02-28
118------------------
119- Add --delay option. See [#122][#122]
120
1215.0.0 / 2017-11-07
122------------------
123- Update to Mocha 4.
124- Remove --compilers option.
125
1264.0.2 / 2017-09-02
127------------------
128- Fixed support for electron-compile. See [#112][#112]
129
1304.0.1 / 2017-08-31
131------------------
132- Update dependencies
133- Added support for electron-compile. See [#111][#111]
134
1354.0.0 / 2017-06-16
136------------------
137- Load --require-main script before app 'ready' event. This allows scripts to configure Electron before the event is fired.
138
1393.5.0 / 2017-06-13
140------------------
141- Clean-up tmp userData in separate task. See: [#105][#105]
142
1433.4.0 / 2017-03-20
144------------------
145- Re-enable --bail option
146- Add -O / --reporter-options from Mocha.js
147- Update fs-extra dependency
148
1493.3.0 / 2016-12-14
150------------------
151- Fix --interactive move. See: [#97][#97]
152- Use ES6 consistently
153
1543.2.1 / 2016-11-23
155------------------
156- No exit on uncaught errors during test runs. See: [#93][#93] and [#94][#94]
157
1583.2.0 / 2016-11-17
159------------------
160- Add --interactive options. See: [#91][#91]
161
1623.1.1 / 2016-09-27
163------------------
164- Allow window focus when using --debug-brk
165
1663.1.0 / 2016-09-14
167------------------
168- Add --require-main option. See: [#84][#84]
169
1703.0.6 / 2016-09-11
171------------------
172- Do not focus test window. See: [#83][#83]
173
1743.0.5 / 2016-08-24
175------------------
176- Exit after webContents destroyed event fires. See: [#78][#78] and [#77][#77]
177
1783.0.4 / 2016-08-18
179------------------
180- Fix support for Node 4/5
181
1823.0.3 / 2016-08-18
183------------------
184- Remove superfluous debug statement
185
1863.0.2 / 2016-08-18
187------------------
188- Support electron npm package
189
1903.0.1 / 2016-08-16
191------------------
192- Prefer $ELECTRON_PATH over locally installed electron. See: [#73][#75]
193
1943.0.0 / 2016-08-01
195------------------
196- Update to Mocha 3.0.0
197
1982.3.1 / 2016-07-13
199------------------
200- Listen and ignore 'window-all-closed' instead of aborting 'will-quit'
201- Use fs.mkdtemp to create temporary workspace
202
2032.3.0 / 2016-07-06
204------------------
205- Add --debug and --debug-brk options. See: [#70][#70]
206
2072.2.1 / 2016-06-22
208------------------
209- Close test window after --renderer tests have finished
210
2112.2.0 / 2016-05-30
212------------------
213- Add --no-colors option
214
2152.1.0 / 2016-05-17
216------------------
217- Don't stop early if tests open/close windows
218
2192.0.0 / 2016-05-12
220------------------
221- Fixed incorrect exit code after Renderer failures See: [#60][#60]
222- Removed Electron 0.x checks / compatibility
223
2241.3.0 / 2016-05-11
225------------------
226- Electron 1.0 compatibility
227- Update dependencies
228
2291.2.3 / 2016-05-06
230------------------
231- Update dependencies
232
2331.2.2 / 2016-04-20
234------------------
235- Load compiler before require options. See: [#57][#57]
236
2371.2.1 / 2016-04-19
238------------------
239- window destroyed on exit. See: [#56][#56]
240
2411.2.0 / 2016-04-12
242------------------
243- fallback to local `electron-prebuilt` if can't find `electron` in the `$PATH` [#55][#55]
244
2451.1.0 / 2016-04-10
246------------------
247- Add --preload option. See: [#45][#45]
248
2491.0.3 / 2016-04-07
250------------------
251- Update to latest mocha
252
2531.0.2 / 2016-04-04
254------------------
255- Ensure backwards compatibility of previous version
256
2571.0.1 / 2016-04-04
258------------------
259- Update BrowserWindow options syntax for Electron >= 0.37.4. Removes deprecation warnings.
260
2611.0.0 / 2016-03-21
262------------------
263- console piping issue [#48][#48]
264
2650.8.0 / 2016-01-14
266------------------
267- Fix remote output w/ line breaks. See [#40][#40]
268
2690.7.0 / 2015-12-15
270------------------
271- update `electron-window` dep. (For electron >= `0.35`). Removes deprecation warnings. See: https://github.com/jprichardson/electron-mocha/pull/31
272- clean up require statements (Electron modules). See: https://github.com/jprichardson/electron-mocha/pull/29
273- `--require` support fixed in Renderer. See: https://github.com/jprichardson/electron-mocha/pull/33
274
2750.6.3 / 2015-11-26
276------------------
277- fix for deprecation warnings in Electron `v0.35`. See: https://github.com/jprichardson/electron-mocha/pull/26
278
2790.6.2 / 2015-11-21
280------------------
281- report error if in mocha: See: https://github.com/jprichardson/electron-mocha/pull/25
282
2830.6.1 / 2015-11-05
284------------------
285- fix exit code on `bin/electron-mocha`: See: https://github.com/jprichardson/electron-mocha/pull/22
286
2870.6.0 / 2015-11-05
288------------------
289- add support for mocha opts: See: https://github.com/jprichardson/electron-mocha/pull/21
290
2910.5.1 / 2015-10-30
292------------------
293- bugfix: expose `mocha` to `window` as Mocha does. See: https://github.com/jprichardson/electron-mocha/pull/20
294
2950.5.0 / 2015-10-21
296------------------
297- end Electron with proper exit code now. See: https://github.com/jprichardson/electron-mocha/pull/17
298
2990.4.0 / 2015-10-16
300------------------
301- added `--compilers` flag. See: https://github.com/jprichardson/electron-mocha/pull/16
302
3030.3.1 / 2015-08-27
304------------------
305- bugfix: incorrect stdin/stdout values (fail on Node v0.10): https://github.com/jprichardson/electron-mocha/pull/8
3060.3.0 / 2015-07-30
307------------------
308- display an error about not being able locate `electron`
309- change `process.stdout` hijacking https://github.com/jprichardson/electron-mocha/pull/6
310- removed `node_modules` https://github.com/jprichardson/electron-mocha/pull/7
311
3120.2.1 / 2015-07-22
313------------------
314- bugfix on finding `index.html` for `--renderer` tests
315
3160.2.0 / 2015-07-15
317------------------
318- upgraded to `electron-window@0.5.0` (Electron removed `global` for non-node integration)
319
3200.1.1 / 2015-07-10
321-------------------
322- forgot `fs` in `args.js`
323- JavaScript Standard Style
324
3250.1.0 / 2015-07-10
326------------------
327- initial release
328
329
330[#174]: https://github.com/jprichardson/electron-mocha/pull/174 "Add `window-config-file` option"
331[#170]: https://github.com/jprichardson/electron-mocha/pull/170 "Fix uncaught promise rejection"
332[#166]: https://github.com/jprichardson/electron-mocha/pull/166 "refactor: do not use `remote` module for console calls"
333[#164]: https://github.com/jprichardson/electron-mocha/pull/164 "Corrected --preload behavior"
334[#161]: https://github.com/jprichardson/electron-mocha/pull/161 ":feature: Allow custom index.html"
335[#155]: https://github.com/jprichardson/electron-mocha/pull/155 "Explicitly exit from cleanup script"
336[#153]: https://github.com/jprichardson/electron-mocha/pull/153 "Respect the full-trace option to show stack traces on error"
337[#136]: https://github.com/jprichardson/electron-mocha/pull/136 "Enable loading multiple --require-main scripts"
338[#130]: https://github.com/jprichardson/electron-mocha/pull/130 "Natively compiled module sqlite3 crash"
339[#129]: https://github.com/jprichardson/electron-mocha/pull/129 "Disable power save app suspension"
340[#122]: https://github.com/jprichardson/electron-mocha/pull/122 "Add delay option"
341[#112]: https://github.com/jprichardson/electron-mocha/pull/112 "fix for electron compile support"
342[#111]: https://github.com/jprichardson/electron-mocha/pull/111 "added support for electron compile"
343[#105]: https://github.com/jprichardson/electron-mocha/pull/105 "Run clean up in a separate task"
344[#97]: https://github.com/jprichardson/electron-mocha/pull/97 "Trigger 'mocha-start' on page reload"
345[#94]: https://github.com/jprichardson/electron-mocha/pull/94 "Remove uncaught exception errors"
346[#93]: https://github.com/jprichardson/electron-mocha/issues/93 "Assert not caught in async tests"
347[#92]: https://github.com/jprichardson/electron-mocha/issues/92 "Allow renderer process testing in electron-mocha"
348[#91]: https://github.com/jprichardson/electron-mocha/pull/91 "Add `--interactive` mode"
349[#90]: https://github.com/jprichardson/electron-mocha/issues/90 "html files, like mocha-phantomjs?"
350[#89]: https://github.com/jprichardson/electron-mocha/issues/89 "Debugging main process"
351[#88]: https://github.com/jprichardson/electron-mocha/issues/88 "Debugging unit tests"
352[#87]: https://github.com/jprichardson/electron-mocha/pull/87 "Allow focus when debugging tests"
353[#86]: https://github.com/jprichardson/electron-mocha/issues/86 "Debugging no longer has access to to full dev tools"
354[#85]: https://github.com/jprichardson/electron-mocha/issues/85 "Unexpected token import"
355[#84]: https://github.com/jprichardson/electron-mocha/pull/84 "Add a --require-main option"
356[#83]: https://github.com/jprichardson/electron-mocha/pull/83 "Prevent electron-mocha stealing focus from other applications"
357[#82]: https://github.com/jprichardson/electron-mocha/issues/82 "Running tests steals focus from Terminal"
358[#81]: https://github.com/jprichardson/electron-mocha/issues/81 "Mocha requires Electron to be installed globally"
359[#80]: https://github.com/jprichardson/electron-mocha/issues/80 "support for `--watch`"
360[#79]: https://github.com/jprichardson/electron-mocha/pull/79 "Add .npmignore file"
361[#78]: https://github.com/jprichardson/electron-mocha/pull/78 "Exit after webContents destroyed event fires"
362[#77]: https://github.com/jprichardson/electron-mocha/issues/77 "electron mocha temp dir locked; unlink error"
363[#76]: https://github.com/jprichardson/electron-mocha/issues/76 "Latest update broke support on Node.JS v4 and v5"
364[#75]: https://github.com/jprichardson/electron-mocha/issues/75 "Workspaces on Mac OS X"
365[#74]: https://github.com/jprichardson/electron-mocha/issues/74 "Module version mismatch"
366[#73]: https://github.com/jprichardson/electron-mocha/issues/73 "Specify alternative electron version to run tests with"
367[#72]: https://github.com/jprichardson/electron-mocha/issues/72 "Travis CI Failing ( tried readme fix )"
368[#71]: https://github.com/jprichardson/electron-mocha/issues/71 "Not working, or not what I think it is?"
369[#70]: https://github.com/jprichardson/electron-mocha/pull/70 "Add debugger support"
370[#69]: https://github.com/jprichardson/electron-mocha/issues/69 "Source maps support?"
371[#68]: https://github.com/jprichardson/electron-mocha/issues/68 "debugging tests in electron-mocha wit Visual Studio Code"
372[#67]: https://github.com/jprichardson/electron-mocha/pull/67 "app.exit is not exiting all processes sometimes"
373[#66]: https://github.com/jprichardson/electron-mocha/issues/66 "Hangs on Electron 1.2.0"
374[#65]: https://github.com/jprichardson/electron-mocha/issues/65 "Can't resolve 'electron'"
375[#64]: https://github.com/jprichardson/electron-mocha/issues/64 "Mocking BrowserWindow"
376[#63]: https://github.com/jprichardson/electron-mocha/pull/63 "Remove Electron 0.x API calls / checks"
377[#62]: https://github.com/jprichardson/electron-mocha/pull/62 "Exits via app.exit()"
378[#61]: https://github.com/jprichardson/electron-mocha/issues/61 "npm test on windows"
379[#60]: https://github.com/jprichardson/electron-mocha/pull/60 "Fix exit code"
380[#59]: https://github.com/jprichardson/electron-mocha/issues/59 "Integration with Karma"
381[#58]: https://github.com/jprichardson/electron-mocha/pull/58 "Handle --compiler before --require options"
382[#57]: https://github.com/jprichardson/electron-mocha/issues/57 "Unexpected token import"
383[#56]: https://github.com/jprichardson/electron-mocha/pull/56 "window must be destroyed before electron exit"
384[#55]: https://github.com/jprichardson/electron-mocha/pull/55 "Fallback to local install of electron-prebuilt"
385[#54]: https://github.com/jprichardson/electron-mocha/pull/54 "Add tests for mocha.opts, --require, and --preload"
386[#53]: https://github.com/jprichardson/electron-mocha/pull/53 "Add option to preload script tags"
387[#52]: https://github.com/jprichardson/electron-mocha/pull/52 "Add arbitrary scripts to renderer html page with --scripts option"
388[#51]: https://github.com/jprichardson/electron-mocha/issues/51 "Electron 0.37.4 -- Renderer hangs"
389[#50]: https://github.com/jprichardson/electron-mocha/pull/50 "Suppress 0.37+ deprecation warnings"
390[#49]: https://github.com/jprichardson/electron-mocha/issues/49 "Deleting temp data directory is causing errors in windows"
391[#48]: https://github.com/jprichardson/electron-mocha/pull/48 "addressing intellij and tee console issue"
392[#47]: https://github.com/jprichardson/electron-mocha/issues/47 "No console output on Windows"
393[#46]: https://github.com/jprichardson/electron-mocha/issues/46 "npm install fails with npm@3.3.6 and node@5.0.0"
394[#45]: https://github.com/jprichardson/electron-mocha/pull/45 "Generate index.html for renderer tests, and pass relative paths to sc…"
395[#44]: https://github.com/jprichardson/electron-mocha/issues/44 "Usage with Istanbul"
396[#43]: https://github.com/jprichardson/electron-mocha/issues/43 "Add feature to test AMD modules using mocha"
397[#42]: https://github.com/jprichardson/electron-mocha/pull/42 "Add LICENSE file"
398[#41]: https://github.com/jprichardson/electron-mocha/issues/41 "This is really cool tool! I like it .... and just let you know that the LICENSE file is missing :-)"
399[#40]: https://github.com/jprichardson/electron-mocha/pull/40 "Forward to main process.stdout not console.log"
400[#39]: https://github.com/jprichardson/electron-mocha/issues/39 "process.stdout"
401[#38]: https://github.com/jprichardson/electron-mocha/pull/38 "Electron demo app + tests (for main and renderer)"
402[#37]: https://github.com/jprichardson/electron-mocha/issues/37 "Intermittent rmdir errors"
403[#36]: https://github.com/jprichardson/electron-mocha/pull/36 "Add Travis instructions to README"
404[#35]: https://github.com/jprichardson/electron-mocha/issues/35 "Examples of tests written to leverage electron-mocha"
405[#34]: https://github.com/jprichardson/electron-mocha/issues/34 "Modify README with Travis Instructions"
406[#33]: https://github.com/jprichardson/electron-mocha/pull/33 "Add -r/--require support for renderer tests"
407[#32]: https://github.com/jprichardson/electron-mocha/pull/32 "Fix ipc require in renderer"
408[#31]: https://github.com/jprichardson/electron-mocha/pull/31 "Update electron-window"
409[#30]: https://github.com/jprichardson/electron-mocha/issues/30 "remove preferGlobal"
410[#29]: https://github.com/jprichardson/electron-mocha/pull/29 "Cleaner require statements"
411[#28]: https://github.com/jprichardson/electron-mocha/issues/28 "ELIFECYCLE with v0.35.2 on Travis CI"
412[#27]: https://github.com/jprichardson/electron-mocha/pull/27 "Require ipcRenderer instead of ipcMain in the rendered context "
413[#26]: https://github.com/jprichardson/electron-mocha/pull/26 "Misc things + squash deprecation warning"
414[#25]: https://github.com/jprichardson/electron-mocha/pull/25 "Add error reporting"
415[#24]: https://github.com/jprichardson/electron-mocha/pull/24 "Squash deprecation warning for electron 0.35.0"
416[#23]: https://github.com/jprichardson/electron-mocha/issues/23 "test 3 fails on OS X "
417[#22]: https://github.com/jprichardson/electron-mocha/pull/22 "Fixed exit status on running command"
418[#21]: https://github.com/jprichardson/electron-mocha/pull/21 "Add support for mocha.opts"
419[#20]: https://github.com/jprichardson/electron-mocha/pull/20 "Expose mocha to window in renderer context"
420[#19]: https://github.com/jprichardson/electron-mocha/issues/19 "electron-mocha and istanbul/isparta"
421[#18]: https://github.com/jprichardson/electron-mocha/pull/18 "Support `-w, --watch` and `--watch-extensions` args"
422[#17]: https://github.com/jprichardson/electron-mocha/pull/17 "End electron with correct exit code"
423[#16]: https://github.com/jprichardson/electron-mocha/pull/16 "Support `--compilers` arg"
424[#15]: https://github.com/jprichardson/electron-mocha/issues/15 "Support for --compilers js:babel/register"
425[#14]: https://github.com/jprichardson/electron-mocha/issues/14 "Add option to show browser window and report there?"
426[#13]: https://github.com/jprichardson/electron-mocha/issues/13 "--require option not apply to renderer process"
427[#12]: https://github.com/jprichardson/electron-mocha/issues/12 "README clairifcation: jsdom as prerequisite for testing renderer?"
428[#11]: https://github.com/jprichardson/electron-mocha/issues/11 "Cannot run in cygwin on Windows?"
429[#10]: https://github.com/jprichardson/electron-mocha/issues/10 "Is there a way to run electron-mocha part of gulp build?"
430[#9]: https://github.com/jprichardson/electron-mocha/pull/9 "Coffeescript support"
431[#8]: https://github.com/jprichardson/electron-mocha/pull/8 "Prevent error 'Incorrect value for stdio stream: inherit' by using di…"
432[#7]: https://github.com/jprichardson/electron-mocha/pull/7 "Don’t check in node_modules"
433[#6]: https://github.com/jprichardson/electron-mocha/pull/6 "Fix socket errors"
434[#5]: https://github.com/jprichardson/electron-mocha/pull/5 "Fix exit code"
435[#4]: https://github.com/jprichardson/electron-mocha/issues/4 "allow local installs of electron-prebuilt"
436[#3]: https://github.com/jprichardson/electron-mocha/issues/3 "Renderer test hang indefinitely"
437[#2]: https://github.com/jprichardson/electron-mocha/issues/2 "Get this working in Travis-CI"
438[#1]: https://github.com/jprichardson/electron-mocha/issues/1 "Set exit code (dependent upon Electron fix)"