qmetrics.net

Unity

Lightweight C unit testing framework for embedded

Unity screenshot

Unity Test from ThrowTheSwitch.org supplies portable C assertions and test runners aimed at microcontrollers and embedded toolchains.

Overview

Unity is a unit testing framework written in C and distributed as a compact set of source files and headers. It targets embedded firmware and other constrained environments where a small footprint and broad compiler support matter more than heavy test harnesses.

Tests use `TEST_ASSERT` macros for booleans, integers, hex values, floats, arrays, strings, and memory comparisons, with variants for sized integer types. The project ships documentation on getting started, assertion reference, and integration with companion tools such as CMock and the Ceedling build orchestrator.

Because it is source-level, you can drop Unity into Make, CMake, or custom embedded build flows and run on hosts or on-device with the compiler of your choice. ThrowTheSwitch.org also provides community forums, professional support offerings, and training focused on test-driven development for firmware teams.

Unity emphasizes reliability for safety-critical and long-lived embedded products, with examples spanning tiny MCUs to 64-bit hosts.

Key features

  • Single-file friendly C framework
  • Rich integer and float assertions
  • Array and memory comparison macros
  • Works with many embedded compilers
  • Pairs with CMock and Ceedling
  • Documentation for TDD workflows
  • ThrowTheSwitch community support
  • Optional professional certification plugins

Use cases

  • Unit testing microcontroller firmware
  • Adding assertions to legacy C codebases
  • Running tests in CI for embedded projects
  • Teaching test-driven development in C
  • Combining with Ceedling for build automation

Tags

Similar software

Playwright

Cross-browser web automation and testing framework

Playwright drives Chromium, Firefox, and WebKit through one API for tests, scripts, and agent-driven browser control.

  • Chromium, Firefox, and WebKit control
  • Auto-wait and retried assertions
  • Isolated browser contexts per test
TypeScriptLinux, macOS, Windows, CLIDetails →
★ 101.7k⟳ todayApache-2.0
Open Source Alternative to:ApplitoolsCopado Robotic Testing+6

Storybook

Isolated workshop for UI components and pages

Storybook runs a local dev workshop where teams build, test, and document components in isolation. It integrates with major frontend frameworks and addons for docs, accessibility, visual review, and agent tooling.

  • Component stories in isolation
  • Framework adapters for major stacks
  • Docs and documentation addon
TypeScriptWeb, CLIDetails →
★ 91.9k⟳ todayMIT

Cypress

Browser end-to-end and component test platform

Cypress runs web tests in a real browser on your machine or in CI. It offers time-travel debugging, agent-driven runs via cypress tap, and optional cloud replay and coverage services.

  • Real-browser E2E and component tests
  • Time-travel command log debugging
  • cypress tap for agent-driven runs
TypeScriptLinux, macOS, Windows, CLIDetails →
★ 51.1k⟳ todayMIT
Open Source Alternative to:ACCELQApplitools+5

Jest

JavaScript testing framework with zero-config defaults

Jest runs unit and integration tests for JavaScript codebases with matchers, mocks, and snapshots. It targets Node and front-end stacks including React, Vue, and Angular.

  • Zero-config default setup
  • Snapshot testing
  • Parallel isolated test processes
TypeScriptCLIDetails →
★ 45.5k⟳ todayMIT

Selenium

Cross-language browser automation via W3C WebDriver

Selenium automates Chrome, Firefox, Edge, and Safari from Java, Python, C#, Ruby, JavaScript, or Kotlin. It implements the W3C WebDriver standard and downloads browser drivers automatically.

  • W3C WebDriver standard support
  • Bindings for six major languages
  • Automatic browser driver management
JavaDetails →
★ 34.6k⟳ todayApache-2.0
Open Source Alternative to:ACCELQCopado Robotic Testing+3

hyperfine

Command-line tool for statistical shell benchmarks

Runs repeated timing benchmarks on shell commands, compares results, and exports statistics to several report formats.

  • Statistical analysis across multiple runs
  • Compare several commands in one session
  • Warmup and prepare hooks per run
RustLinux, macOS, Windows, CLIDetails →
★ 29.5k⟳ 1 month agoApache-2.0 · open core