GithubHelp home page GithubHelp logo

goldens's Introduction

A repository for golden image files that are used by tests in https://github.com/flutter/flutter.

See: https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter

PLEASE READ THAT WIKI PAGE BEFORE CONTRIBUTING TO THIS REPOSITORY.

IT CONTAINS RULES THAT YOU MUST FOLLOW.

Getting diffs for golden images

If you have ImageMagick and you want to use it to show diffs of files in this repo, add the following to your ~/.gitconfig:

[diff "image"]
    command = /path/to/this/repo/diff-images.sh

Obsolete files

To make it easier to land multiple PRs that change the goldens in parallel, when we change the result of a test, rather than just updating the golden file, we change the name of the golden file used in the test, so that after the change we use a different image than before the change.

This section lists the files that can now be deleted because they have been replaced in this way:

  • packages/flutter/test/material/floating_action_button_test.clip.1.png
  • packages/flutter/test/widgets/text_golden.Strut.1.png
  • packages/flutter/test/widgets/text_golden.Strut.2.png
  • packages/flutter/test/widgets/text_golden.Strut.3.png
  • packages/flutter/test/widgets/text_golden.Strut.4.png
  • packages/flutter/test/widgets/text_golden.StrutForce.1.png

goldens's People

Contributors

liyuqian avatar garyqian avatar hixie avatar xster avatar johnsonmh avatar goderbauer avatar rami-a avatar tvolkert avatar jslavitz avatar doxuanviet1996 avatar nataliesampsell avatar beckler avatar jacob314 avatar dnfield avatar cbracken avatar aam avatar alexmarkov avatar hansmuller avatar jason-simmons avatar mkustermann avatar salby avatar mraleph avatar amirh avatar jonahwilliams avatar matthew-carroll avatar

Watchers

James Cloos avatar  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.