Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a "Coming from Sinon" doc #219

Open
2 tasks
searls opened this issue Mar 25, 2017 · 0 comments
Open
2 tasks

a "Coming from Sinon" doc #219

searls opened this issue Mar 25, 2017 · 0 comments

Comments

@searls
Copy link
Member

searls commented Mar 25, 2017

Worth having a doc that just covers differences in td.js vs sinon, especially where the terminology differs. Like it or not, thousands of people learned the word "spy" from sinon, where a spy is not a spy but rather a sort of partial mock / proxy.

Things to cover:

  • spies are not spies
  • re-emphasis on why test double doesn't offer a partial mock / call-through-to-real-thing mode as sinon spy() does
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant