+
+

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

Writing unit tests can be hard and sometimes good design has to be sacrificed for the sole purpose of testability. Often testability corresponds to good design, but this is not always the case. For example final classes and methods cannot be used, private methods sometimes need to be protected or unnecessarily moved to a collaborator, static methods should be avoided completely and so on simply because of the limitations of existing frameworks. PowerMock is a framework that extends other mock libraries such as EasyMock with more powerful capabilities. PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more. By using a custom classloader no changes need to be done to the IDE or continuous integration servers which simplifies adoption.

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

Unit Testing solution for developers

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 Not 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

PowerMock
github.com/powermock/powermock

Alternatives

Alternatives

Telerik JustMock

Telerik JustMock

Progress Telerik
XCTest

XCTest

Apple
Cypress

Cypress

Cypress.io

Categories

Categories

Integrations

Bootstrap Not Supported
C++ Supported
Codecov Supported
EasyMock Not Supported
JUnit Not Supported
Java Not Supported
Mockito Not Supported
Parasoft Not Supported

Integrations

Bootstrap Supported
C++ Not Supported
Codecov Not Supported
EasyMock Supported
JUnit Supported
Java Supported
Mockito Supported
Parasoft Supported
Claim Catch2 and update features and information
Claim Catch2 and update features and information
Claim PowerMock and update features and information
Claim PowerMock and update features and information