Changelog
4.1.1
2020-04-07
import()
calls, but rejects the promise)Changelog
4.1.0
2020-04-06
ospec
has grown quite a bit, possibly to the point where it needs a new name, since the lib has diverged quite a bit from its original philosophy (#18)--require
and intrduce --preload
since it can not load both CommonJS packages or ES6 modules (--require
is still supported with a warning for easing the transition).???
until the timed out test finishes..satisfies
and .notSatisfies
assertions (#18, partially address #12).o.metadata()
which, with o().statisfies()
opens the door to snapshots. (#18)timeout
argument for tests has long been declared deprecated, but they were still documented and didn't issue any warning on use. Not anymore (#18)o.only
warning tighter and harder to ignore (#18)setTimout()
call) (#18)(done) => { }
) support in asynchronous tests. (#2 @kesara)Changelog
3.1.0
2019-02-07
.message
and .context
regardless of whether the test passed or failed. (#2227 @robertakarobin)spy.calls
array property to get the this
and arguments
values for any arbitrary call. (#2221 @isiahmeadows).throws
and .notThrows
assertions to ospec. (#2255 @robertakarobin)glob
dependency.Changelog
3.0.0
2018-06-26
"__"
to "\x01"
. Tests whose name start with "\0x01"
will be rejected (#2167)timeout
parameter in async tests in favour of o.timeout()
for setting the timeout delay. The timeout
parameter still works for v3, and will be removed in v4 (#2167)o.defaultTimeout()
for setting the the timeout delay for the current spec and its children (#2167)done()
properly #2162 (#2167)"__"
up to this version) (#2167)done()
call detection logic #2158 and assorted fixes (accept non-English names, tolerate comments) (#2167)o.only()
with a large test suite (#2171)Changelog
2.0.0
2018-05-09
--require
feature to the ospec executable (#2144, @gilbert)o.report(results)