Giter VIP home page Giter VIP logo

goldens's Introduction

🛑 The flutter/goldens repository has been deprecated from its use for the flutter/flutter repository’s golden file testing.

The repository is currently persisting for historical record and the storage of other resources used for integration tests in flutter/flutter.

Visit Writing a golden file test for package:flutter, to learn more about new golden file testing procedures for flutter.


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/cupertino/nav_bar_test.large_title.2.png
  • packages/flutter/test/cupertino/nav_bar_test.standard_title.2.png
  • packages/flutter/test/cupertino/text_field_cursor_test.cupertino.0.2.png
  • packages/flutter/test/cupertino/text_field_cursor_test.cupertino.1.2.png
  • packages/flutter/test/cupertino/text_field_test.disabled.0.png
  • packages/flutter/test/widgets/list_wheel_scroll_view.curved_wheel.left.png
  • packages/flutter/test/widgets/list_wheel_scroll_view.center_child.magnified.png
  • packages/flutter/test/cupertino/timer_picker_test.datetime.drag.1.png
  • packages/flutter/test/cupertino/timer_picker_test.datetime.initial.1.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.drag.2.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.initial.2.png
  • packages/flutter/test/cupertino/switch.tap.off.0.png
  • packages/flutter/test/cupertino/switch.tap.on.0.png
  • packages/flutter/test/cupertino/switch.tap.turningOn.0.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.drag.1.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.initial.1.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.drag.png
  • packages/flutter/test/cupertino/date_picker_test.datetime.initial.png
  • packages/flutter/test/cupertino/text_field_cursor_test.0.0.png
  • packages/flutter/test/cupertino/text_field_cursor_test.1.0.png
  • packages/flutter/test/cupertino/text_field_cursor_test.0.1.png
  • packages/flutter/test/cupertino/text_field_cursor_test.1.1.png
  • packages/flutter/test/cupertino/text_field_cursor_test.0.2.png
  • packages/flutter/test/cupertino/text_field_cursor_test.1.2.png
  • material/bottom_navigation_bar.shifting_transition.2.0.png
  • material/bottom_navigation_bar.shifting_transition.2.1.png
  • material/bottom_navigation_bar.shifting_transition.2.3.png
  • material/bottom_navigation_bar.shifting_transition.2.4.png
  • material/bottom_navigation_bar.shifting_transition.2.5.png
  • material/bottom_navigation_bar.shifting_transition.2.6.png
  • material/bottom_navigation_bar.shifting_transition.2.7.png
  • packages/flutter/test/material/text_field_cursor_test.0.0.png
  • packages/flutter/test/material/text_field_cursor_test.1.0.png
  • packages/flutter/test/material/text_field_cursor_test.material.0.0.png
  • packages/flutter/test/material/text_field_cursor_test.material.1.0.png
  • packages/flutter/test/material/text_field_opacity_test.0.2.png
  • packages/flutter/test/material/text_field_opacity_test.0.3.png
  • packages/flutter/test/material/floating_action_button_test.clip.1.png
  • packages/flutter/test/widgets/editable_text_test.0.2.png
  • packages/flutter/test/widgets/editable_text_test.1.2.png
  • packages/flutter/test/widgets/editable_text_test.0.1.png
  • packages/flutter/test/widgets/editable_text_test.1.1.png
  • packages/flutter/test/widgets/editable_text_test.0.0.png
  • packages/flutter/test/widgets/editable_text_test.1.0.png
  • packages/flutter/test/widgets/text_golden.DecorationThickness.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidget.2.1.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetNest.1.1.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetNest.1.2.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidget.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetBaseline.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetAboveBaseline.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetBelowBaseline.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetTop.1.0.png
  • packages/flutter/test/widgets/text_golden.TextInlineWidgetMiddle.1.0.png

goldens's People

Contributors

aam avatar amirh avatar beckler avatar brandondiamond avatar cbracken avatar dkwingsmt avatar dnfield avatar doxuanviet1996 avatar ferhatb avatar flar avatar garyqian avatar goderbauer avatar hixie avatar jacob314 avatar jason-simmons avatar johnsonmh avatar jonahwilliams avatar jslavitz avatar justinmc avatar liyuqian avatar longcatislooong avatar matthew-carroll avatar mdebbar avatar nataliesampsell avatar piinks avatar rami-a avatar shihaohong avatar tvolkert avatar xster avatar yjbanov avatar

Watchers

 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.