Browse by topic

testing

Explore the topics and references in this collection.

Capybara Ruby Integration Testing Cheat Sheet

A quick reference guide for Capybara: page navigation, form interactions, RSpec matchers, finders, scoping, modal dialogs, and test debugging.

Open cheat sheet

Chai.js Assertion Library Cheat Sheet

A quick reference guide for Chai.js: BDD expect and should styles, TDD assert styles, deep equality, type checking, and chai-jquery assertions.

Open cheat sheet

Enzyme React Testing Utility Cheat Sheet

A quick reference guide for Enzyme in React: shallow vs mount rendering, DOM traversal, event simulation, Jest snapshot serializers, and state inspection.

Open cheat sheet

Expect.js Cheatsheet

A quick reference guide for Expect.js assertion library: setup, basic assertions, chained assertions, and spies with call verification.

Open cheat sheet

ExUnit Cheatsheet

A quick reference guide for Elixir's ExUnit built-in test framework: test cases, assertions, refutations, capture IO, and setup callbacks.

Open cheat sheet

Factory Bot Cheatsheet

A quick reference guide for Factory Bot in Ruby: defining factories, associations, traits, sequences, transient attributes, and build strategies.

Open cheat sheet

FFaker Cheatsheet

A quick reference guide for FFaker Ruby gem: generating fake data for addresses, companies, education, geolocation, internet, names, and phone numbers.

Open cheat sheet

Gremlins.js Monkey Testing Cheatsheet

A quick reference guide for Gremlins.js: automated chaos and monkey testing for web apps with clickers, touchers, form fillers, scrollers, and mogwais.

Open cheat sheet

Jasmine BDD Testing Cheatsheet

A quick reference guide for Jasmine test framework: describe, it, matchers, spies, async testing, beforeEach/afterEach hooks, and HTML test runner.

Open cheat sheet

Jest Testing Framework Cheatsheet

A comprehensive reference guide for Jest: matchers, mock functions, snapshot testing, asynchronous tests, setup/teardown hooks, and CLI options.

Open cheat sheet

jscoverage Cheatsheet (Archive)

A historical reference guide for JSCoverage: instrumenting JavaScript code, tracking test coverage, Mocha/Mocha-Blanket integrations, and HTML reports.

Open cheat sheet

Machinist Cheatsheet

A quick reference guide for Machinist: Ruby fixture replacement library blueprints, object instantiation, and model associations.

Open cheat sheet

Minitest Cheatsheet

A quick reference guide for Ruby Minitest: unit testing, BDD specs, expectation matchers, assertions, Minitest::Mock, and reporters.

Open cheat sheet

Mocha Blanket Code Coverage Cheatsheet

A quick reference guide for measuring JavaScript test code coverage with Blanket.js and Mocha.

Open cheat sheet

Mocha HTML Browser Runner Cheatsheet

A quick reference guide and HTML template for running Mocha and Chai test suites directly in modern web browsers.

Open cheat sheet

Mocha.js TDD Cheatsheet

A quick reference guide for Mocha.js TDD interface: suite, test, setup, teardown hooks, async testing, and Chai expect assertions.

Open cheat sheet

Mocha.js BDD Cheatsheet

A quick reference guide for Mocha.js: BDD test suite interface, describe, it, hooks, asynchronous tests, and Chai assertions.

Open cheat sheet

Nock HTTP Mocking Cheatsheet

A quick reference guide for Nock: HTTP server mocking and expectation library for Node.js, URL filtering, query matching, and mock replies.

Open cheat sheet

Node.js assert Module Cheatsheet

A quick reference guide for the Node.js assert module: strict assertions, deep equality checks, exception throws, and error validation.

Open cheat sheet

QUnit JavaScript Testing Cheatsheet

A quick reference guide for QUnit: JavaScript unit testing framework, modules, assertions, async hooks, and DOM test runners.

Open cheat sheet

Rack::Test Cheatsheet

A quick reference guide for Rack::Test: lightweight testing API for Ruby Rack, Sinatra, and Rails applications.

Open cheat sheet

RSpec Rails Cheatsheet

A quick reference guide for rspec-rails: model specs, request specs, system specs, route specs, and database transactions.

Open cheat sheet

RSpec Cheatsheet

A comprehensive reference guide for RSpec: BDD testing in Ruby, describe, context, it, matchers, let, subject, mocks, and spies.

Open cheat sheet

Sauce Labs Cheatsheet

A quick reference guide for Sauce Labs: cloud-based automated cross-browser testing with Selenium, Zuul, and CI integrations.

Open cheat sheet

Siege HTTP Benchmark Cheatsheet

A quick reference guide for Siege: HTTP and HTTPS benchmark and load testing tool, concurrency, duration, URLs file, and performance metrics.

Open cheat sheet

Sinon-Chai Cheatsheet

Quick reference guide for sinon-chai, pairing Sinon.js assertions with Chai expect and should styles.

Open cheat sheet

Sinon Cheatsheet

Quick reference guide for Sinon.js, covering test spies, stubs, mocks, fake timers, fake servers, and sandbox lifecycle methods.

Open cheat sheet

Tape Cheatsheet

Quick reference guide for Tape minimal JavaScript test harness, covering assertions, plans, error handling, and test runners.

Open cheat sheet

Vows.js Cheatsheet

A quick reference guide for Vows.js asynchronous BDD testing framework for Node.js: batches, topics, assertions, and async callbacks.

Open cheat sheet

Zombie.js Cheatsheet

A quick reference guide for Zombie.js headless browser testing in Node.js: page navigation, form interaction, element queries, and assertions.

Open cheat sheet