@jsspec/jsspec
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/jsspec__jsspec package

0.3.1 • Public • Published

JSSPEC

npm (scoped) Travis AppVeyor

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

Dependencies (4)

Dev Dependencies (5)

Package Sidebar

Install

npm i @jsspec/jsspec

Weekly Downloads

6

Version

0.3.1

License

ISC

Unpacked Size

44.9 kB

Total Files

37

Last publish

Collaborators

  • hookyqr