All Projects → Antondomashnev → Fbsnapshotsviewer

Antondomashnev / Fbsnapshotsviewer

Licence: mit
A mac os application that shows the failing snapshot tests from FBSnapshotTestCase

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Fbsnapshotsviewer

Lldebugtoolswift
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 40 (-81.9%)
Mutual labels:  xcode, tool
Lldebugtool
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 673 (+204.52%)
Mutual labels:  xcode, tool
Kin
Simple PBXProj Verifier
Stars: ✭ 660 (+198.64%)
Mutual labels:  xcode, tool
Snapshooter
Snapshooter is a snapshot testing tool for .NET Core and .NET Framework
Stars: ✭ 118 (-46.61%)
Mutual labels:  tool, snapshot-testing
Xmly Downloader Qt5
喜马拉雅FM专辑下载器. 支持VIP与付费专辑. 使用Go+Qt5编写(Not Qt Binding).
Stars: ✭ 214 (-3.17%)
Mutual labels:  tool
Lifetimetracker
Find retain cycles / memory leaks sooner.
Stars: ✭ 2,529 (+1044.34%)
Mutual labels:  tool
Dtphotoviewercontroller
A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer.
Stars: ✭ 212 (-4.07%)
Mutual labels:  xcode
Linex
Feature packed Xcode extension
Stars: ✭ 210 (-4.98%)
Mutual labels:  xcode
Obsidian
WAD file editor for League of Legends
Stars: ✭ 218 (-1.36%)
Mutual labels:  tool
Approvaltests.cpp
Native ApprovalTests for C++ on Linux, Mac and Windows
Stars: ✭ 214 (-3.17%)
Mutual labels:  snapshot-testing
Dttextfield
DTTextField is a custom textfield with floating placeholder and error label
Stars: ✭ 213 (-3.62%)
Mutual labels:  xcode
Periphery
A tool to identify unused code in Swift projects.
Stars: ✭ 3,017 (+1265.16%)
Mutual labels:  xcode
Mojs Timeline Editor
GUI for interactive `html`/`custom points`/`timeline` editing while crafting your animations
Stars: ✭ 215 (-2.71%)
Mutual labels:  tool
Djangohunter
Tool designed to help identify incorrectly configured Django applications that are exposing sensitive information.
Stars: ✭ 212 (-4.07%)
Mutual labels:  tool
Appmethodorder
一个能让你了解所有函数调用顺序以及函数耗时的Android库(无需侵入式代码)
Stars: ✭ 2,471 (+1018.1%)
Mutual labels:  tool
Xcodesourceeditorextension Alignment
This Xcode source editor extension align your assignment statement.
Stars: ✭ 211 (-4.52%)
Mutual labels:  xcode
Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (-5.88%)
Mutual labels:  tool
Sbtuitesttunnel
Enable network mocks and more in UI Tests
Stars: ✭ 215 (-2.71%)
Mutual labels:  xcode
Angularjs Csti Scanner
Automated client-side template injection (sandbox escape/bypass) detection for AngularJS.
Stars: ✭ 214 (-3.17%)
Mutual labels:  tool
Fastlane Plugin Test center
🎯 The best fastlane plugin to understand and tame misbehaving iOS tests 🎉
Stars: ✭ 214 (-3.17%)
Mutual labels:  xcode

FBSnapshotsViewer

Build Status codebeat badge codecov

A macOs application that shows the failing snapshot tests from FBSnapshotTestCase because it's a pain to parse the console logs by myself.

Why FBSnapshotsViewer?

I've been using an amazing plugin to check the failing test's snapshots, but unfortunately, with Xcode 8 the plugins are not officially supported anymore, so I've decided to build an app which will work regardless Apple's decisions about Xcode and plugins ecosystem.

There are some benefits using it:

  • Real-time feedback about failed snapshot test.
  • Real-time feedback about recorded snapshot test.
  • Clear output with reference | diff | failed image
  • Split and diff mode to see exact differences
  • One click to use failed image as a recorded
  • Xcode and AppCode support

Example

How it works?

The idea behind the job is quite tricky, but the overall concept is straightforward:

  1. The app listens for the changes in Xcode DerivedData folder;
  2. When the app finds new .log file generated by Xcode it starts parsing it;
  3. Through the parsing it extracts the generated information by iOS snapshot tests framework and shows in UI

Installation

FBSnapshotsViewer application

At the moment there is only one option to install the app: Navigate to releases and download the latest FBSnapshotsViewer-xyz.app.zip release.

We encourage you to turn automatic update on, so you'll be always up to date 🚀

Usage

As simple as just run the app and run tests in your app 🎉

App Code

For the AppCode support the app needs to know where is a folder with generated test logs: Open FBSnapshotsViewer -> Right click -> Preferences -> Set derived data folder path as a path like ~/Library/Caches/AppCodeXYZ where XYZ is an AppCode version. Usually you'll have only one such folder under the Caches directory.

Contribution

Contributions to FBSnapshotsViewer are welcomed and encouraged! Please see the Contributing guide for more details.

License

FBSnapshotsViewer is available under the MIT license. See LICENSE for more information.

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].