{"id":32288101,"url":"https://github.com/lual98/widgetbook_golden_test","last_synced_at":"2026-02-03T20:10:36.042Z","repository":{"id":310134555,"uuid":"1038834799","full_name":"lual98/widgetbook_golden_test","owner":"lual98","description":"Library to run golden tests for declared Widgetbook cases","archived":false,"fork":false,"pushed_at":"2026-02-02T20:24:28.000Z","size":3571,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-03T10:36:21.674Z","etag":null,"topics":["flutter","flutter-testing","golden-tests","widgetbook"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lual98.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-15T22:56:10.000Z","updated_at":"2026-02-01T01:21:09.000Z","dependencies_parsed_at":"2025-08-16T01:21:15.581Z","dependency_job_id":"9d4eb32d-a4e7-4c2b-9616-9d079bcde316","html_url":"https://github.com/lual98/widgetbook_golden_test","commit_stats":null,"previous_names":["lual98/widgetbook_golden_test"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/lual98/widgetbook_golden_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lual98%2Fwidgetbook_golden_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lual98%2Fwidgetbook_golden_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lual98%2Fwidgetbook_golden_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lual98%2Fwidgetbook_golden_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lual98","download_url":"https://codeload.github.com/lual98/widgetbook_golden_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lual98%2Fwidgetbook_golden_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29055726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-testing","golden-tests","widgetbook"],"created_at":"2025-10-23T02:24:01.681Z","updated_at":"2026-02-03T20:10:36.031Z","avatar_url":"https://github.com/lual98.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Widgetbook Golden Test\n[![codecov](https://codecov.io/github/lual98/widgetbook_golden_test/graph/badge.svg?token=UK9N7GQJ7H)](https://codecov.io/github/lual98/widgetbook_golden_test)\n\nA monorepo containing tools to automatically generate Flutter golden tests from [Widgetbook](https://widgetbook.io) use cases.\n\n## Repository Structure\n\nThis repository uses a workspace-based monorepo structure:\n\n| Package | Description |\n| --- | --- |\n| [`widgetbook_golden_test`](packages/widgetbook_golden_test) | The main package for end-users. Provides easy-to-use functions for running golden tests. |\n| [`widgetbook_golden_test_core`](packages/widgetbook_golden_test_core) | The core engine used by `widgetbook_golden_test`. Contains the rendering and mocking logic. |\n| [`widgetbook_golden_test_alchemist`](packages/widgetbook_golden_test_alchemist) | The Alchemist package for end-users. Provides easy-to-use functions for running golden tests. |\n\n## Getting Started\n\nTo get started with automatic golden test generation, it is recommended to use the [`widgetbook_golden_test`](packages/widgetbook_golden_test) package.\n\n### Prerequisites\n\n- A Flutter project using [Widgetbook](https://pub.dev/packages/widgetbook).\n- [widgetbook_generator](https://pub.dev/packages/widgetbook_generator) configured in your project.\n\n### Installation\n\nAdd `widgetbook_golden_test` to your `dev_dependencies`:\n\n```yaml\ndev_dependencies:\n  widgetbook_golden_test: ^latest_version\n```\n\n## How It Works\n\n1. **Write Use Cases**: Annotate your widgets with `@UseCase` as usual.\n2. **Generate Directories**: Run `dart run build_runner build -d` to generate your Widgetbook directories.\n3. **Run Golden Tests**: Create a test file that calls `runWidgetbookGoldenTests` with the generated directories.\n\nVisual regression testing becomes zero-effort once your Widgetbook is set up!\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flual98%2Fwidgetbook_golden_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flual98%2Fwidgetbook_golden_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flual98%2Fwidgetbook_golden_test/lists"}