From 854021db32ca7a8644c603f639db8eba925cd17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Fri, 1 Dec 2017 14:01:55 +0100 Subject: [PATCH] Detail the upcoming ospec v2 additions --- docs/change-log.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/change-log.md b/docs/change-log.md index cfaa74e9..69e49a26 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -52,11 +52,18 @@ #### Ospec improvements -- Added support for async functions and promises in tests - ([#1928](https://github.com/MithrilJS/mithril.js/pull/1928)) -- Added support for custom reporters ([#2009](https://github.com/MithrilJS/mithril.js/pull/2020)) -- Error handling for async tests with `done` callbacks supports error as first argument -- Error messages which include newline characters do not swallow the stack trace [#1495](https://github.com/MithrilJS/mithril.js/issues/1495) ([#1984](https://github.com/MithrilJS/mithril.js/pull/1984), [@ RodericDay](https://github.com/RodericDay)) -- Make Ospec more [Flems](https://flems.io)-friendly (#2034) +- ospec v1.4.0 + - Added support for async functions and promises in tests ([#1928](https://github.com/MithrilJS/mithril.js/pull/1928), [@StephanHoyer](https://github.com/StephanHoyer)) + - Error handling for async tests with `done` callbacks supports error as first argument ([#1928](https://github.com/MithrilJS/mithril.js/pull/1928)) + - Error messages which include newline characters do not swallow the stack trace [#1495](https://github.com/MithrilJS/mithril.js/issues/1495) ([#1984](https://github.com/MithrilJS/mithril.js/pull/1984), [@RodericDay](https://github.com/RodericDay)) +- ospec v2.0.0 (to be released) + - Added support for custom reporters ([#2009](https://github.com/MithrilJS/mithril.js/pull/2020)) + - Make Ospec more [Flems](https://flems.io)-friendly (#2034) + - Works either as a global or in CommonJS environments + - the o.run() report is always printed asynchronously (it could be synchronous before if none of the tests were async). + - Properly point to the assertion location of async errors [#2036](https://github.com/MithrilJS/mithril.js/issues/2036) + - expose the default reporter as `o.report(results)` + - Don't try to access the stack traces in IE9 ---