Skip to content

a "Coming from Sinon" doc #219

@searls

Description

@searls

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions