VeryGoodOpenSource / very_good_flutter_plugin

A Very Good Flutter Federated Plugin created by the Very Good Ventures Team 🦄
https://brickhub.dev/bricks/very_good_flutter_plugin
MIT License
29 stars 3 forks source link

fix: ensure all tests succeed out of the box #140

Closed alestiago closed 8 months ago

alestiago commented 11 months ago

Description

After creating a Very Good Flutter Plugin not all test succeed out of the box.

Steps To Reproduce

  1. Create a Very Good Flutter Plugin:
    very_good create flutter_plugin --platforms android sample
  2. Run recursive tests on the created Very Good Fluter Plugin:
    very_good test -r
  3. A test will fail:
    
    Expected: 'Check platform name: "Hello World"'
    Actual: 'Check platform name: "MacOS"'
    Which: is different.
          Expected: ... rm name: "Hello Worl ...
            Actual: ... rm name: "MacOS"
                                  ^
           Differ at offset 22

package:matcher expect package:flutter_test/src/widget_tester.dart 458:18 expect test/src/check_platform_name_test.dart 47:7 main..

CheckPlatformName show correct description /Users/alestiago/Developer/workspace/oss/issues/sample/sample/example/actions/check_platform_name/test/src/check_platform_name_test.dart (FAILED) 00:05 +3 -1: Some tests failed. Failing Tests:

Expected Behavior

All tests should succeed out of the box.

Additional Context

alestiago commented 8 months ago

Closed by #155