Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Golden DiffNew to Visual Studio Code? Get it now.
Golden Diff

Golden Diff

Jeilson Araujo

|
275 installs
| (2) | Free
This help you to see easily differences between golden failures
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Golden Diff

Easily compare golden failures and check the difference. A valuable tool to save you time in Flutter development and automated tests.

Some contributions

Thanks bbcBreno for this suggestion of the extension icon. Thank you for your valuable assistance!

RyanHolanda thank you for suggesting the feature of a library golden of images. Thank you for your valuable contribution and for sharing such an insightful idea!

PauloNonaka for their invaluable contributions in enhancing the README and providing the idea for a feature to clear golden failure images. Your efforts and ideas have greatly improved the project.

Features

This extension looks for images of golden test failures on your project, it makes a list with all the files reached. By clicking on one it's possible to see the difference between the expected image and the image that was generated by the golden toolkit.

Once there are test failures on your project, there will be a slider that reveals the expected image above the failure.

Suppose we developed this screen:

image

After we make some changes on the theme and we run the tests it will fail.

Here it's where the failures can be found:

image

This shows how easy is to compare the images:

image

Release Notes

0.0.1

  • Initial release with basic features

0.0.2

  • Included a wonderful icon

0.0.3

  • added other views to see individual tested master masked and isolated
  • adedd hover to easy toggle on tested and master image
  • change icon on primary sidebar

1.0.0

  • fix size aspect ratio
  • preparing code to new features

1.0.1

  • added clear function
  • tree view by project

1.0.2

  • projects and itens are sorted
  • fix duplicated itens on tree

1.0.3

  • automatic refresh when detect new failures

1.0.4

  • golden library

1.0.5

  • update tree view

1.0.6

  • refactor code
  • revert update tree view

Golden retriever icons created by Freepik - Flaticon
Clear icons created by LAFS - Flaticon
Dog icons created by Freepik - Flaticon
Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2023 Microsoft