Hi there,

In our tests we often need read/write streams because if the code
under test is reading a stream then the test needs to write to it and
vice-versa. I'm guessing this is a common problem, but I'm not aware
of a common solution - how are people tackling this? I would expect
something like this to be built into Node, but I've never found it.

Capsela-util has a class called Pipe for exactly this purpose, and I'm
aware of at least one other similar solution, but I was wondering if
there's a way to do this that doesn't require a from-scratch stream
implementation (which isn't necessarily a bad thing). I'd like to
avoid going through the filesystem.

Thanks,
Seth

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to