Skip to main content
巧匠Developer Cheatsheet
VCS Ops Lang Web DB Containers Ref Tools Config AI CLI AI Shortcuts
More
VCS Ops Lang Web DB Containers Ref Tools Config AI CLI AI ShortcutsMore
Home›Testing
#

Testing

Testing related cheatsheet collection - 3 quick reference guides. Find fast, copy directly. The essential online command reference for developers and SRE.

Related Tags

javascriptchaiAssertionssinonmockspystubjestFrontend

Chai Cheatsheet - Assertion Library

A Chai.js assertion reference covering all three styles — expect and should (BDD) and assert (TDD): equality, deep comparison, types, inclusion, thrown errors, numeric bounds, plus async and HTTP helpers via plugins. Copy and run.

2026-07-2144 commands
chaiTestingAssertions

Sinon Cheatsheet - Test Doubles

A Sinon.js test-double reference: spies that observe calls, stubs that replace behavior with returns/throws/resolves, strict mocks, fake timers, sandboxes, and assertion helpers — the tools for isolating units under test. Copy and run.

2026-07-2146 commands
sinonTestingmock

Jest Cheatsheet - Testing Framework

Jest testing APIs covering test cases and grouping (describe/it), matchers and assertions, async testing, mock functions and module mocking, snapshot tests, and coverage reports. For writing JavaScript unit tests that fail for the right reason.

2026-07-2144 commands
jestTestingjavascript
巧匠Developer Cheatsheet

A curated collection of 192+ high-frequency command cheatsheets across containers, ops, databases, languages and more. Find fast, copy directly.

Explore

  • Home
  • All Categories
  • Contact

Resources

  • Recently Updated
  • Popular Tags
  • Guides
  • About
  • OLTool - 专业工具箱

Legal & Compliance

  • Privacy Policy
  • Terms of Service
  • Disclaimer
© 2026 laohand.com · Developer Cheatsheet蜀ICP备17034332号-2
Crafted with care · Free & open source