v0.0.20 (alpha)
Pre-release
Pre-release
Changes since last release
- Browser support is officially pulled until I get Sauce Labs, etc. hooked up.
- The reporter API has undergone a complete overhaul to simplify creating them.
"start"
- Marks the start of all running tests, and is the first event fired."enter"
- Marks the start of all child tests within a single test block."leave"
- Marks the end of all child tests within a single test block."pass"
- Marks a passing test block with no children."fail"
- Marks a failing test block with no children. Thevalue
is the error that was thrown, untouched."skip"
- Marks a skipped test block with no children, viat.testSkip()
ort.asyncSkip()
."end"
- Marks the end of all running tests, and is the last event fired."error"
- An internal/reporter error, provided for pretty-printing and the ability to close resources."extra"
- Marks an extra call todone
in an async test. Thevalue
is an object with the following properties:count
- how many timesdone
has been called in total so farvalue
denotes the last value the callback was called with.
- There exists two built-in reporters currently:
thallium/r/spec
- Much like Mocha'sspec
reporter.thallium/r/tap
- A standard TAP producing reporter.
- The programmatic API has been optimized a bit, so it will be faster and take less memory.
- In the source itself, there is now a playground to help with reporter design in case you want to use it.
- Several bug fixes.
See the docs for more details on the new additions.
Also, note that v0.0.19 was skipped over. It was meant to contain most of this, but there was a little breakage to resolve first, and I had already created the tag, so I decided it was easier to keep it.