Easily compare golden failures and check the difference. A valuable tool to save you time in Flutter development and automated tests.
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.
Imagine you've made some alterations, and suddenly, the tests begin to fail:
With the Golden Diff extension, pinpointing errors becomes effortless. Simply navigate to the extension to quickly identify failures, compare expected versus generated outcomes, and save valuable time troubleshooting.
Here, you can explore the various types of golden tests available, offering insight into what's happening behind the scenes. Golden Diff consolidates this information, streamlining your workflow and saving you precious time:
The Failure image will have a red shadow and the Expected image will show a green shadow to effort the difference.
The isolated mode will present any discrepancies found between the expected image and what was actually detected.
The master image will showcase both the expected and failure images overlaid, making it effortless to discern the differences.
Tap on the window title to copy the image name and locate using the search vscode resource
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.
- Initial release with basic features
- Included a wonderful icon
- added other views to see individual tested master masked and isolated
- added hover to easy toggle on tested and master image
- change icon on primary sidebar
- fix size aspect ratio
- preparing code to new features
- added clear function
- tree view by project
- projects and itens are sorted
- fix duplicated itens on tree
- automatic refresh when detect new failures
- golden library
- update tree view
- refactor code
- revert update tree view
- add a title to failures view
- setup automatic deploy
- added license
- find golden image and failures wherever they are
- fix error to get projects
- fix error to get projects
- implement a new visual
- FIX(GDE-11): When a test fails it’s creating a tree node of project for every tests failed.
- Feat(GDE-12): Display a badge counter
Golden retriever icons created by Freepik - Flaticon
Clear icons created by LAFS - Flaticon
Dog icons created by Freepik - Flaticon
Enjoy!