Settings

Theme

Show HN: Wirepig – Mock HTTP and TCP deps with real sockets in Node.js tests

github.com

1 points by griffinmyers 3 years ago · 0 comments · 1 min read

Reader

Wirepig lets you stand up mock HTTP and TCP servers for your dependencies, all from within your testing process.

That means even in tests your application sends real requests over localhost, but without giving up the nice ergonomics of programmatically controlled mocks.

Let me know if you have any comments or suggestions!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection