+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • OptiSigns
    8,462 Ratings
    Visit Website
  • Process Street
    1,119 Ratings
    Visit Website
  • Buildxact
    264 Ratings
    Visit Website
  • SurveyLegend
    1,881 Ratings
    Visit Website
  • Flagsmith
    43 Ratings
    Visit Website
  • QA Wolf
    273 Ratings
    Visit Website
  • Checksum.ai
    2 Ratings
    Visit Website

About

Catch2 is mainly a unit testing framework for C++, but it also provides basic micro-benchmarking features and simple BDD macros. Catch2's main advantage is that using it is both simple and natural. Test names do not have to be valid identifiers, assertions look like normal C++ boolean expressions, and sections provide a nice and local way to share set-up and tear-down code in tests. You are on the devel branch, where the v3 version is being developed. v3 brings a bunch of significant changes, the big one being that Catch2 is no longer a single-header library. Catch2 now behaves as a normal library, with multiple headers and separately compiled implementation. Quick and easy to get started. Just download two files, add them to your project and you're away. No external dependencies. As long as you can compile C++14 and have the C++ standard library available. Write test cases as, self-registering, functions (or methods, if you prefer).

About

The toolkit is provided as a set of artifacts deployed to the Maven Central repository. It requires Java 7 or newer for test execution; tests must use JUnit or TestNG. For instructions on how to add the library to a Java project, see Running tests with JMockit. In this tutorial we examine the APIs available in the library, with the help of example tests (using Java 8). The central API - a single annotation - provides support for the automatic instantiation and initialization of the objects to be tested. Then we have the mocking API (also known as the "Expectations" API), intended for tests which use mocked dependencies. Finally, there is a small faking API (aka the "Mockups" API), which can be used for the creation and application of fake implementations that avoid the full cost of external components.

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

Developers interested in a solution to test their coding operations and share set-up code

Audience

DevOps teams looking for an Unit Testing solution

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Not Supported

API

Offers API Supported

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version Supported
Free Trial Not Supported

Pricing

Free
Free Version Supported
Free Trial Not Supported

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

Catch2
github.com/catchorg/Catch2

Company Information

JMockit
jmockit.github.io

Alternatives

Alternatives

XCTest

XCTest

Apple
Cypress

Cypress

Cypress.io

Categories

Categories

Unit Testing Supported

Integrations

C++ Supported
Codecov Supported
Java Not Supported

Integrations

C++ Not Supported
Codecov Not Supported
Java Supported
Claim Catch2 and update features and information
Claim Catch2 and update features and information
Claim JMockit and update features and information
Claim JMockit and update features and information