Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

executable specification for Stream (make testing streams easy)

tree: fbaa92c607

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

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

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