Skip to content

Giuspepe/flutter-golden-test-talk

Repository files navigation

Sample project for talk on golden tests for Flutter Festival Germany 30.03.2022

Slides

Link to slides

Video

Link to video

Description

  • This project uses the flutter sample app (flutter create -t skeleton) to showcase different ways of running golden tests

  • The vanilla/imperative way is shown in tests/vanilla_imperative_approach

  • A declarative approach to golden tests with the package Alchemist is shown in test/alchemist_sample_golden_test.dartand test/app_golden_test.dart

  • Golden tests can be run like every other test using flutter test

  • Updating the golden master image files is achieved by running flutter test with an additional option: flutter test --update-goldens

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published