Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
executable specification for Stream (make testing streams easy)
JavaScript
tree: 3a20d449e2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
index.js
package.json
readme.markdown
states.markdown
stream_spec.md

readme.markdown

StreamSpec

stream-spec is a executable specification for Stream. it's purpose it to make it easy to test user-land streams have correct behavour.

illustrated explained

var spec = require('stream-spec')
spec(stream)
  .readableWritable({error: false})
  .pausable()
  .validateOnExit()

stream.write('data')
//...
Something went wrong with that request. Please try again.