Consider adding golden tests
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
When developing new features it's important to avoid regressions.
Since this package is very UI-specific, golden tests would be useful to ensure that nothing breaks.
While I'm working on rounded section radius for the pie chart, I've noticed some issues with my implementation, that would be easier to spot early on with golden tests that provide a reference image.
There is a package called [alchemist](https://pub.dev/packages/alchemist) that can help implement golden tests.
Contributor guide
Research direction
No file or test entry point is named. Start by reviewing the package's Flutter widget-test setup and the Alchemist documentation, then define representative chart reference images and verify that the golden suite catches the rounded-section regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- frontend, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100