All Projects → approvals → Approvaltests.cpp

approvals / Approvaltests.cpp

Licence: apache-2.0
Native ApprovalTests for C++ on Linux, Mac and Windows

Programming Languages

cpp11
221 projects

Projects that are alternatives of or similar to Approvaltests.cpp

Phpunit Snapshot Assertions
A way to test without writing actual test cases
Stars: ✭ 443 (+107.01%)
Mutual labels:  snapshot-testing
Syrupy
🥞 The sweeter pytest snapshot plugin
Stars: ✭ 73 (-65.89%)
Mutual labels:  snapshot-testing
Cupaloy
Simple Go snapshot testing
Stars: ✭ 131 (-38.79%)
Mutual labels:  snapshot-testing
Snapshot Diff
Diffing snapshot utility for Jest
Stars: ✭ 490 (+128.97%)
Mutual labels:  snapshot-testing
Enzyme To Json
Snapshot test your Enzyme wrappers
Stars: ✭ 954 (+345.79%)
Mutual labels:  snapshot-testing
Test Each
🤖 Repeat tests. Repeat tests. Repeat tests.
Stars: ✭ 89 (-58.41%)
Mutual labels:  snapshot-testing
Bunit
A testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJSRuntime, and perform snapshot testing.
Stars: ✭ 415 (+93.93%)
Mutual labels:  snapshot-testing
Swift Snapshot Testing
📸 Delightful Swift snapshot testing.
Stars: ✭ 2,347 (+996.73%)
Mutual labels:  snapshot-testing
Testshot
Presentational snapshot testing for React
Stars: ✭ 57 (-73.36%)
Mutual labels:  snapshot-testing
Typescript Snapshots Plugin
Snapshots language service support for Typescript
Stars: ✭ 122 (-42.99%)
Mutual labels:  snapshot-testing
Pointfreeco
🎬 The source for www.pointfree.co, a video series on functional programming and the Swift programming language.
Stars: ✭ 782 (+265.42%)
Mutual labels:  snapshot-testing
Opticlj
A Clojure(Script) expectation/snapshot testing library, inspired by cram, ppx_expect, and jest
Stars: ✭ 19 (-91.12%)
Mutual labels:  snapshot-testing
Snapshooter
Snapshooter is a snapshot testing tool for .NET Core and .NET Framework
Stars: ✭ 118 (-44.86%)
Mutual labels:  snapshot-testing
Approvaltests.net
ApprovalTest verification library for .Net
Stars: ✭ 448 (+109.35%)
Mutual labels:  snapshot-testing
Snap Shot It
Smarter snapshot utility for Mocha and BDD test runners + data-driven testing!
Stars: ✭ 138 (-35.51%)
Mutual labels:  snapshot-testing
Snap.swift
Snapshot testing in a snap 🎨
Stars: ✭ 420 (+96.26%)
Mutual labels:  snapshot-testing
Snapper
Bringing Jest-esque Snapshot testing to C#
Stars: ✭ 85 (-60.28%)
Mutual labels:  snapshot-testing
Verify
Verify is a snapshot tool that simplifies the assertion of complex data models and documents.
Stars: ✭ 210 (-1.87%)
Mutual labels:  snapshot-testing
Approvaltests.java
ApprovalTest verification library for Java
Stars: ✭ 160 (-25.23%)
Mutual labels:  snapshot-testing
Buffer Components
Buffer's shared collection of React UI components 🤜🤛
Stars: ✭ 120 (-43.93%)
Mutual labels:  snapshot-testing

Approval Tests for C++

Build status Actions Status Python tests Documentation Status License Contributor Covenant ConanCenter package

⬇️ Download the latest version (v.10.8.0) of the single header file here.

📖 Read the Docs

Contents

What are Approval Tests?

Also known as Golden Master Tests or Snapshot Testing, Approval Tests are an alternative to asserts. If you are unfamiliar with them, we have an overview and a tutorial.

They are great for testing objects with lots of fields, or lists of objects.

Requirements

Getting Started

ToString (ostream insertion)

Often, you will need to create functions to allow objects to print their state. This is commonly done with an ostream << operator. You can find examples here: To String

What's new?

Check out the Features page or upcoming release notes to see what we've been working on lately, or browse the past release notes.

Feedback

If you have any comment or suggestion on this documentation, please email Llewellyn or Clare via the details in the Contributing page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].