Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Nightmare | 19,351 | 2,640 | 705 | 2 months ago | 88 | April 27, 2019 | 207 | JavaScript | ||
A high-level browser automation library. | ||||||||||
Webtorrent Desktop | 9,270 | 1 | 6 days ago | 27 | September 23, 2016 | 81 | mit | JavaScript | ||
❤️ Streaming torrent app for Mac, Windows, and Linux | ||||||||||
Jest Image Snapshot | 3,596 | 411 | 541 | 2 months ago | 40 | August 31, 2022 | 24 | apache-2.0 | JavaScript | |
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing. | ||||||||||
Verify | 1,955 | 49 | 14 hours ago | 417 | June 27, 2022 | 10 | mit | C# | ||
Verify is a snapshot tool that simplifies the assertion of complex data models and documents. | ||||||||||
Ios Snapshot Test Case | 1,683 | 55 | 3 months ago | 9 | July 01, 2019 | 36 | mit | Objective-C | ||
Snapshot view unit tests for iOS | ||||||||||
Js Imagediff | 768 | 87 | 27 | a year ago | 6 | January 29, 2015 | 30 | mit | JavaScript | |
JavaScript / Canvas based image diff utility with Jasmine matchers for testing canvas. | ||||||||||
Swift Custom Dump | 691 | 25 days ago | 5 | mit | Swift | |||||
A collection of tools for debugging, diffing, and testing your application's data structures. | ||||||||||
Awesome Tap | 587 | 5 months ago | cc0-1.0 | |||||||
Useful resources for the Test Anything Protocol | ||||||||||
Niffy | 519 | 5 | 3 | 4 years ago | 2 | April 05, 2017 | 26 | JavaScript | ||
Perceptual diffing suite built on Nightmare | ||||||||||
Mutationobserver.js | 310 | 5,101 | 497 | 3 years ago | 9 | June 09, 2020 | mit | JavaScript | ||
ES3 Shim for the MutationObserver interface via DOM diffing. |
A tool for providing the 2 features for efficient testing:
Platform | Status |
---|---|
macOS | |
Linux |
diff<T>(between: T, and: T)
import MirrorDiffKit
// Input 2 structs or classes implements Equatable:
let a = Example(
key1: "I'm not changed",
key2: "I'm deleted"
)
let b = Example(
key1: "I'm not changed",
key2: "I'm inserted"
)
XCTAssertEqual(a, b, diff(between: a, and: b))
// XCTAssertEqual failed: ("Example(key1: "I\'m not changed", key2: "I\'m deleted")") is not equal to ("Example(key1: "I\'m not changed", key2: "I\'m inserted")") -
// struct Example {
// key1: "I'm not changed"
// - key2: "I'm deleted"
// + key2: "I'm inserted"
// }
Any =~ Any
and Any !~ Any
import MirrorDiffKit
a = NotEquatable(
key1: "I'm not changed",
key2: "I'm deleted"
)
b = NotEquatable(
key1: "I'm not changed",
key2: "I'm inserted"
)
XCTAssert(a =~ b, diff(between: a, and: b))
// XCTAssertTrue failed -
// struct NotEquatable {
// key1: "I'm not changed"
// - key2: "I'm deleted"
// + key2: "I'm inserted"
// }
Add the following line to your Package.swift
:
.package(url: "https://github.com/Kuniwak/MirrorDiffKit.git")
Add the following line to your Cartfile
:
github "Kuniwak/MirrorDiffKit"
pod "MirrorDiffKit"