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)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
Octocat-spinner-32 readme.markdown
Octocat-spinner-32 states.markdown
Octocat-spinner-32 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.