+
+

Related Products

  • Parasoft
    133 Ratings
    Visit Website
  • Gearset
    227 Ratings
    Visit Website
  • MuukTest
    32 Ratings
    Visit Website
  • OptiSigns
    7,543 Ratings
    Visit Website
  • SonarQube Cloud
    190 Ratings
    Visit Website
  • Process Street
    1,099 Ratings
    Visit Website
  • JetBrains Junie
    2 Ratings
    Visit Website
  • Buildxact
    233 Ratings
    Visit Website
  • SurveyLegend
    1,852 Ratings
    Visit Website
  • Boozang
    15 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
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

Unit Testing solution for developers

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

PowerMock
github.com/powermock/powermock

Alternatives

Alternatives

Telerik JustMock

Telerik JustMock

Progress Telerik
XCTest

XCTest

Apple
Cypress

Cypress

Cypress.io

Categories

Categories

Integrations

Bootstrap
C++
Codecov
EasyMock
JUnit
Java
Mockito
Parasoft

Integrations

Bootstrap
C++
Codecov
EasyMock
JUnit
Java
Mockito
Parasoft
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