+
+

Related Products

  • Sahi Pro
    60 Ratings
    Visit Website
  • Parasoft
    126 Ratings
    Visit Website
  • Gearset
    221 Ratings
    Visit Website
  • MuukTest
    31 Ratings
    Visit Website
  • OptiSigns
    7,085 Ratings
    Visit Website
  • EASA
    18 Ratings
    Visit Website
  • Buildxact
    225 Ratings
    Visit Website
  • NINJIO
    391 Ratings
    Visit Website
  • Boozang
    15 Ratings
    Visit Website
  • SurveyLegend
    1,829 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
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

Platforms Supported

Windows
Mac
Linux
Cloud
On-Premises
iPhone
iPad
Android
Chromebook

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
24/7 Live Support
Online

Support

Phone Support
24/7 Live Support
Online

API

Offers API

API

Offers API

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version
Free Trial

Pricing

Free
Free Version
Free Trial

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
Webinars
Live Online
In Person

Training

Documentation
Webinars
Live Online
In Person

Company Information

Catch2
github.com/catchorg/Catch2

Company Information

JMockit
jmockit.github.io

Alternatives

Alternatives

XCTest

XCTest

Apple
Cypress

Cypress

Cypress.io

Categories

Categories

Integrations

C++
Codecov
Java

Integrations

C++
Codecov
Java
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