Coder Social home page Coder Social logo

steven-miles / snapshots Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orta/snapshots

0.0 0.0 0.0 4.23 MB

An Xcode Plugin to show the state of FBSnapshot Tests.

License: BSD 2-Clause "Simplified" License

Objective-C 97.16% Ruby 0.54% C 0.41% Shell 1.88%

snapshots's Introduction

Snapshots for Xcode

Xcode plugins don't work anymore, so you should help @antondomashnev with https://github.com/Antondomashnev/FBSnapshotsViewer

Which is the sucessor to this plugin.


An Xcode Plugin to show the state of FBSnapshot Tests.

I think Facebook have view testing right. I don't think Xcode's quite there, so I built a plugin to fix it.

Screenshot

Features

  • Showing new images as they're created
  • Showing the differences between failed snapshot tests
  • Open specific diffs in Kaleidoscope
  • Turns red if you've created a view with a zero frame

Installation

Install via Alcatraz. In Xcode choose Window, Package Manager and search for "Snapshots".

Contributing

It's actually way easier to work on Plugins than you think. Hitting run in Xcode on this project will open a new Xcode with a working lldb instance and you can work on it like any other app. Contributions are extremely welcome of course, large visual design changes should probably be talked about in an issue first FWIW.

Unknowns

Currently this only works if you're using XCTests or Expecta. Kiwi has it's own test runner, and I've been focusing on what I use personally.

If you're using Expecta I really recommend my buddy dB's extension for Expecta: EXPMatchers+FBSnapshotTest. It automates the whole setup process + adds nice language around tests.

snapshots's People

Contributors

orta avatar wokalski avatar johnboiles avatar daehn avatar neonichu avatar ashfurrow avatar christodeluxe avatar sarahscott avatar batesyuk avatar dblock avatar netbe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.