@jsspec/jsspec
v0.3.1
Published
JSSpec - contextualised test runner for javascript
Downloads
46
Readme
JSSPEC
Contextualised spec runner for JavaScript in the flavour of RSpec
(Ruby Spec runner).
See JSSpec docs
eslint
There is an eslint plugin available which removes the 'is not defined' errors for variables defined in set
and subject
statements. Install with:
npm i eslint-plugin-jsspec
Add the following to your .eslintrc.json
file in your spec directory:
"plugins": ["jsspec"],
"env": {
"jsspec/jsspec": true
},
Future work:
Runner:
- improved output for file level failures
- Concurrent runners
Associated modules:
- companion expectation framework
- doubles (mocks/spies)
- more formatters