Skip to content
SPECIFICTION
Get listed

CppUTest vs Jasmine

CppUTest

cpputest.github.io

Jasmine

jasmine.github.io

Side by side

FigureCppUTestJasmine
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYes—
Plans published11
Spec score · Unit Testing8.6 (#1)7.9 (#11)
Spec score · Unit Testing Frameworks8.7 (#1)7.9 (#14)
LicenseThe project repository identifies its license as BSD-3-Clause.The Jasmine project repository states that the software is licensed under the MIT License.
PurposeCppUTest is a C/C++ xUnit framework for unit testing and test-driving code, frequently used in embedded systems.Jasmine is a framework for testing JavaScript code that runs in browsers and Node.js.
SupportThe project site directs users with questions to Google Groups and provides a GitHub issues page for bugs and feature requests.The project directs users to its GitHub repository to report issues and contribute.

Plans

CppUTest

  • Free and open-sourceFree

CppUTest pricing →

Jasmine

  • JasmineFree

Jasmine pricing →

In their own words

CppUTest

CppUTest is a free C/C++ xUnit framework for unit testing and test-driven development, frequently used in embedded systems. It organizes tests into groups with setup and teardown, and provides assertions for conditions, comparisons, strings, numbers, pointers and memory. CppUMock supplies mocking support, and the manual describes optional Google Mock integration. C source files can use CppUTest macros and wrappers to register tests with the framework. Its per-test memory leak check compares memory use before setup with usage after teardown. Plugins cover memory leak detection, pointer restoration and floating-point exception flags. The command-line runner can emit JUnit-style XML and TeamCity XML for CI systems; the manual also describes running Google Tests alongside CppUTest tests in one binary. Build options include source builds using CMake or autoconf, Debian and Ubuntu packages, and Homebrew on macOS. It supports Linux, macOS, Windows and self-hosted use, and the repository identifies its license as BSD-3-Clause. One build limitation is that MakefileWorker.mk is available for source builds but is not supported by pre-packaged installs.

Visit cpputest.github.io

Jasmine

Jasmine is a free, open-source framework for testing JavaScript code in browsers and Node.js. Tests use JavaScript’s describe/it structure and expect matchers. The jasmine-core package has no external dependencies, and the framework does not rely on other JavaScript frameworks. For Node, developers can install the package locally with npm and run it using npx jasmine; the standalone distribution runs browser specs without other tools or a web server. Jasmine supports ES modules, and its Node setup can also load CommonJS modules. The jasmine-browser-runner supports interactive browser runs and CI execution with headless Chrome or Sauce Labs. It can also connect to Sauce Labs or a user’s own Selenium Grid as a remote browser grid. Runners can be configured, reporters and matchers customized, and spec order randomized. The project lists JavaScript and TypeScript support, parallel execution and built-in mocks. Browser and Node compatibility follows a rolling window, so older platforms may receive best-effort support or be dropped in minor releases. The FAQ notes that the unmaintained karma-jasmine adapter depends on jasmine-core 4.x, which can limit access to newer Jasmine features. The project uses the MIT License and directs users to GitHub for issues and contributions.

Visit jasmine.github.io