-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Labels
bugSomething isn't working as expectedSomething isn't working as expected
Description
Description
On running the dart test in the root folder, some tests are failing.
The output of flutter doctor is:
`flutter doctor` output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.4.1 22F770820d darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.82.2)
[✓] Connected device (2 available)
[✓] Network resources
• No issues found!
The output of the dart test is:-
`dart test` output
00:00 +0: test/ensure_build_test.dart: (suite)
Skip: Should only be run during pull request
00:00 +15 ~1: test/src/command_runner_test.dart: VeryGoodCommandRunner run --verbose enables verbose logging for sub commands
Creates a new very good project in the specified directory.
Usage: very_good create <subcommand> <project-name> [arguments]
-h, --help Print this usage information.
Available subcommands:
dart_cli Generate a Very Good Dart CLI application.
dart_package Generate a Very Good Dart package.
docs_site Generate a Very Good documentation site.
flame_game Generate a Very Good Flame game.
flutter_app Generate a Very Good Flutter application.
flutter_package Generate a Very Good Flutter package.
flutter_plugin Generate a Very Good Flutter plugin.
Run "very_good help" to see global options.
00:02 +51 ~1 -1: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests and shows timer until tests start [E]
Expected: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r00:00 ...',
<contains 'All tests passed!'>
]
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:00\x1B[0m ...',
'\x1B[2K\r\x1B[90m\x1B[90m00:00\x1B[0m\x1B[0m : \x1B[92mAll tests passed!\x1B[0m\n'
''
]
Which: at location [1] is '\x1B[2K\r\x1B[90m00:00\x1B[0m ...' instead of '\x1B[2K\r00:00 ...'
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 431:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests and shows timer until tests start'
00:02 +51 ~1 -2: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (passing) [E]
Expected: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r00:02 +1: CounterCubit initial state is 0',
'\x1B[2K\r00:02 +2: CounterCubit emits [1] when increment is called',
'\x1B[2K\r00:02 +3: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r00:03 +4: App renders CounterPage',
'\x1B[2K\r00:03 +5: CounterPage renders CounterView',
'\x1B[2K\r00:03 +6: CounterView renders current count',
'\x1B[2K\r00:03 +7: CounterView calls increment when increment button is tapped',
'\x1B[2K\r00:03 +8: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r00:04 +8: All tests passed!\n'
''
]
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+1\x1B[0m: CounterCubit initial state is 0',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+2\x1B[0m: CounterCubit emits [1] when increment is called',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+3\x1B[0m: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+4\x1B[0m: App renders CounterPage',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+5\x1B[0m: CounterPage renders CounterView',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+6\x1B[0m: CounterView renders current count',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+7\x1B[0m: CounterView calls increment when increment button is tapped',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+8\x1B[0m: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r\x1B[90m\x1B[90m00:04\x1B[0m\x1B[0m \x1B[92m+8\x1B[0m: \x1B[92mAll tests passed!\x1B[0m\n'
''
]
Which: at location [1] is '\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+1\x1B[0m: CounterCubit initial state is 0' instead of '\x1B[2K\r00:02 +1: CounterCubit initial state is 0'
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 462:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (passing)'
00:02 +51 ~1 -3: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (passing) with forced ansi output [E]
Expected: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+1\x1B[0m: CounterCubit initial state is 0',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+2\x1B[0m: CounterCubit emits [1] when increment is called',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+3\x1B[0m: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+4\x1B[0m: App renders CounterPage',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+5\x1B[0m: CounterPage renders CounterView',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+6\x1B[0m: CounterView renders current count',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+7\x1B[0m: ...rView calls increment when increment button is tapped',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+8\x1B[0m: ...rView calls decrement when decrement button is tapped',
'\x1B[2K\r\x1B[90m\x1B[90m00:04\x1B[0m\x1B[0m \x1B[92m+8\x1B[0m: \x1B[92mAll tests passed!\x1B[0m\n'
''
]
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+1\x1B[0m: CounterCubit initial state is 0',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+2\x1B[0m: CounterCubit emits [1] when increment is called',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+3\x1B[0m: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+4\x1B[0m: App renders CounterPage',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+5\x1B[0m: CounterPage renders CounterView',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+6\x1B[0m: CounterView renders current count',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+7\x1B[0m: CounterView calls increment when increment button is tapped',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+8\x1B[0m: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r\x1B[90m\x1B[90m00:04\x1B[0m\x1B[0m \x1B[92m+8\x1B[0m: \x1B[92mAll tests passed!\x1B[0m\n'
''
]
Which: at location [7] is '\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+7\x1B[0m: CounterView calls increment when increment button is tapped' instead of '\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+7\x1B[0m: ...rView calls increment when increment button is tapped'
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 504:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (passing) with forced ansi output'
00:02 +51 ~1 -4: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (failing) [E]
Expected: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r00:11 -1: CounterCubit initial state is 0',
'\x1B[2K\r00:11 +1 -1: CounterCubit emits [1] when increment is called',
'\x1B[2K\r00:11 +2 -1: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r00:11 +3 -1: App renders CounterPage',
'\x1B[2K\r00:12 +4 -1: CounterPage renders CounterView',
'\x1B[2K\r00:12 +5 -1: CounterView renders current count',
'\x1B[2K\r00:12 +6 -1: CounterView calls increment when increment button is tapped',
'\x1B[2K\r00:12 +7 -1: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r00:12 +7 -1: Some tests failed.\n'
''
]
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:11\x1B[0m \x1B[91m-1\x1B[0m: CounterCubit initial state is 0',
'\x1B[2K\r\x1B[90m00:11\x1B[0m \x1B[92m+1\x1B[0m \x1B[91m-1\x1B[0m: CounterCubit emits [1] when increment is called',
'\x1B[2K\r\x1B[90m00:11\x1B[0m \x1B[92m+2\x1B[0m \x1B[91m-1\x1B[0m: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r\x1B[90m00:11\x1B[0m \x1B[92m+3\x1B[0m \x1B[91m-1\x1B[0m: App renders CounterPage',
'\x1B[2K\r\x1B[90m00:12\x1B[0m \x1B[92m+4\x1B[0m \x1B[91m-1\x1B[0m: CounterPage renders CounterView',
'\x1B[2K\r\x1B[90m00:12\x1B[0m \x1B[92m+5\x1B[0m \x1B[91m-1\x1B[0m: CounterView renders current count',
'\x1B[2K\r\x1B[90m00:12\x1B[0m \x1B[92m+6\x1B[0m \x1B[91m-1\x1B[0m: CounterView calls increment when increment button is tapped',
'\x1B[2K\r\x1B[90m00:12\x1B[0m \x1B[92m+7\x1B[0m \x1B[91m-1\x1B[0m: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r\x1B[90m\x1B[90m00:12\x1B[0m\x1B[0m \x1B[92m+7\x1B[0m \x1B[91m-1\x1B[0m: \x1B[91mSome tests failed.\x1B[0m\n'
''
]
Which: at location [1] is '\x1B[2K\r\x1B[90m00:11\x1B[0m \x1B[91m-1\x1B[0m: CounterCubit initial state is 0' instead of '\x1B[2K\r00:11 -1: CounterCubit initial state is 0'
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 544:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (failing)'
00:02 +51 ~1 -5: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (noisy) [E]
Expected: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\rSkip: currently failing (see issue 1234)\n'
'',
'\x1B[2K\r(suite) /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/AbWsgK/test/counter/view/other_test.dart (SKIPPED)\n'
'',
'\x1B[2K\r00:00 ~1: (suite)',
'\x1B[2K\rCounterCubit initial state is 0 /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/AbWsgK/test/counter/cubit/counter_cubit_test.dart (SKIPPED)\n'
'',
'\x1B[2K\r00:02 ~2: CounterCubit initial state is 0',
'\x1B[2K\r00:02 +1 ~2: CounterCubit emits [1] when increment is called',
'\x1B[2K\r00:02 +2 ~2: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r00:02 +3 ~2: ...a really long test name that should get truncated by very_good test',
'\x1B[2K\r00:03 +3 -1 ~2: App renders CounterPage',
'\x1B[2K\rhello\n'
'',
'\x1B[2K\r00:04 +4 -1 ~2: CounterPage renders CounterView',
'\x1B[2K\r00:04 +5 -1 ~2: CounterView renders current count',
'\x1B[2K\r00:04 +6 -1 ~2: CounterView calls increment when increment button is tapped',
'\x1B[2K\r00:04 +7 -1 ~2: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r00:05 +8 -1 ~2: ...tiline test name that should be well processed by very_good test',
'\x1B[2K\r00:05 +8 -1 ~2: Some tests failed.\n'
''
]
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[93mSkip: currently failing (see issue 1234)\x1B[0m\n'
'',
'\x1B[2K\r\x1B[93m(suite) /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/AbWsgK/test/counter/view/other_test.dart (SKIPPED)\x1B[0m\n'
'',
'\x1B[2K\r\x1B[90m00:00\x1B[0m \x1B[93m~1\x1B[0m: (suite)',
'\x1B[2K\r\x1B[93mCounterCubit initial state is 0 /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/AbWsgK/test/counter/cubit/counter_cubit_test.dart (SKIPPED)\x1B[0m\n'
'',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[93m~2\x1B[0m: CounterCubit initial state is 0',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+1\x1B[0m \x1B[93m~2\x1B[0m: CounterCubit emits [1] when increment is called',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+2\x1B[0m \x1B[93m~2\x1B[0m: CounterCubit emits [-1] when decrement is called',
'\x1B[2K\r\x1B[90m00:02\x1B[0m \x1B[92m+3\x1B[0m \x1B[93m~2\x1B[0m: this is a really long test name that should get truncated by very_good test',
'\x1B[2K\r\x1B[90m00:03\x1B[0m \x1B[92m+3\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: App renders CounterPage',
'\x1B[2K\rhello\n'
'',
'\x1B[2K\r\x1B[90m00:04\x1B[0m \x1B[92m+4\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: CounterPage renders CounterView',
'\x1B[2K\r\x1B[90m00:04\x1B[0m \x1B[92m+5\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: CounterView renders current count',
'\x1B[2K\r\x1B[90m00:04\x1B[0m \x1B[92m+6\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: CounterView calls increment when increment button is tapped',
'\x1B[2K\r\x1B[90m00:04\x1B[0m \x1B[92m+7\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: CounterView calls decrement when decrement button is tapped',
'\x1B[2K\r\x1B[90m00:05\x1B[0m \x1B[92m+8\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: this is the case of a multiline test name that should be well processed by very_good test ',
'\x1B[2K\r\x1B[90m\x1B[90m00:05\x1B[0m\x1B[0m \x1B[92m+8\x1B[0m \x1B[91m-1\x1B[0m \x1B[93m~2\x1B[0m: \x1B[91mSome tests failed.\x1B[0m\n'
''
]
Which: at location [1] is '\x1B[2K\r\x1B[93mSkip: currently failing (see issue 1234)\x1B[0m\n'
'' instead of '\x1B[2K\rSkip: currently failing (see issue 1234)\n'
''
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 599:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (noisy)'
00:02 +52 ~1 -6: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (error w/stackTrace) [E]
Expected: [
'\x1B[2K\rerror',
'\x1B[2K\rtest/example_test.dart 4 main\n'
'',
'\x1B[2K\rFailing Tests:\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
]
Actual: [
'\x1B[2K\rerror',
'\x1B[2K\rtest/example_test.dart 4 main\n'
'',
'\x1B[2K\r\x1B[1mFailing Tests:\x1B[22m\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
]
Which: at location [2] is '\x1B[2K\r\x1B[1mFailing Tests:\x1B[22m\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
'' instead of '\x1B[2K\rFailing Tests:\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
package:matcher expect
/Users/sachin/Desktop/OpenSource/VeryGoodVentures/very_good_cli/test/src/cli/flutter_cli_test.dart 734:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (error w/stackTrace)'
00:02 +53 ~1 -7: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests (compilation error) [E]
Expected: contains in order([
'\x1B[2K\r00:00 -1: loading test/.test_optimizer.dart',
'\x1B[2K\r00:00 -1: Some tests failed.\n'
''
])
Actual: [
'Running "flutter test" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T...\n'
'',
'\x1B[2K\r\x1B[90m00:00\x1B[0m \x1B[91m-1\x1B[0m: loading test/.test_optimizer.dart',
'\x1B[2K\r\x1B[90m\x1B[90m00:00\x1B[0m\x1B[0m \x1B[91m-1\x1B[0m: \x1B[91mSome tests failed.\x1B[0m\n'
''
]
Which: did not find a value matching '\x1B[2K\r00:00 -1: loading test/.test_optimizer.dart' following expected prior values
package:matcher expect
test/src/cli/flutter_cli_test.dart 769:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests (compilation error)'
00:02 +81 ~1 -8: test/src/cli/flutter_cli_test.dart: Flutter .test runs tests w/optimizations (failing) [E]
Expected: [
'\x1B[2K\rerror',
'\x1B[2K\rtest/example_test.dart 4 main\n'
'',
'\x1B[2K\rFailing Tests:\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
]
Actual: [
'\x1B[2K\rerror',
'\x1B[2K\rtest/example_test.dart 4 main\n'
'',
'\x1B[2K\r\x1B[1mFailing Tests:\x1B[22m\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
]
Which: at location [2] is '\x1B[2K\r\x1B[1mFailing Tests:\x1B[22m\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
'' instead of '\x1B[2K\rFailing Tests:\n'
'\x1B[2K\r - test/app/view/app_test.dart \n'
'\x1B[2K\r \t- [FAILED] CounterCubit emits [1] when increment is called\n'
''
package:matcher expect
test/src/cli/flutter_cli_test.dart 1337:9 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/cli/flutter_cli_test.dart -p vm --plain-name 'Flutter .test runs tests w/optimizations (failing)'
00:02 +83 ~1 -9: test/src/commands/create/commands/docs_site_test.dart: create docs_site running the command creates docs site [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_docs_site ^0.0.1+7, {style: null}),
MockLogger.detail(Validating project name; args: [my_docs_site], {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_docs_site], {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good documentation site! 🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/docs_site_test.dart 197:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/docs_site_test.dart -p vm --plain-name 'create docs_site running the command creates docs site'
00:02 +83 ~1 -10: test/src/commands/packages_test.dart: packages get throws pubspec not found exception when no pubspec.yaml exists (recursive) [E]
Expected: <66>
Actual: <69>
package:matcher expect
test/src/commands/packages_test.dart 97:11 main.<fn>.<fn>.<fn>
===== asynchronous gap ===========================
test/helpers/command_helper.dart 59:5 withRunner.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/packages_test.dart -p vm --plain-name 'packages get throws pubspec not found exception when no pubspec.yaml exists (recursive)'
00:04 +88 ~1 -11: test/src/commands/create/commands/dart_package_test.dart: create dart_package running the command creates dart package [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_dart_package ^0.4.1, {style: null}),
MockLogger.detail(Validating project name; args: [my_package], {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_package], {style: null}),
MockLogger.detail(Running: flutter with [--version], {style: null}),
MockLogger.detail(
stdout:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (2 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.progress(Running "flutter pub get" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/oBMy9x/my_package, {options: null}),
MockLogger.detail(Running: flutter with [pub, get], {style: null}),
MockLogger.detail(
stdout:
Resolving dependencies...
Got dependencies!
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.detail(Running: dart with [--version], {style: null}),
MockLogger.detail(
stdout:
Dart SDK version: 3.1.3 (stable) (Tue Sep 26 14:25:13 2023 +0000) on "macos_arm64"
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "dart fix --apply" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/oBMy9x/my_package, {options: null}),
MockLogger.detail(Running: dart with [fix, --apply], {style: null}),
MockLogger.detail(
stdout:
Computing fixes in my_package...
Nothing to fix!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good Dart Package! 🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/dart_package_test.dart 195:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/dart_package_test.dart -p vm --plain-name 'create dart_package running the command creates dart package'
00:05 +92 ~1 -12: test/src/commands/create/commands/flutter_package_test.dart: create flutter_package running the command creates flutter package [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_flutter_package ^0.4.1, {style: null}),
MockLogger.detail(Validating project name; args: [my_flutter_package], {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_flutter_package], {style: null}),
MockLogger.detail(Running: flutter with [--version], {style: null}),
MockLogger.detail(
stdout:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (2 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.progress(Running "flutter packages get" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/sBzo9O/my_flutter_package, {options: null}),
MockLogger.detail(Running: flutter with [packages, get], {style: null}),
MockLogger.detail(
stdout:
Resolving dependencies...
Got dependencies!
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.detail(Running: dart with [--version], {style: null}),
MockLogger.detail(
stdout:
Dart SDK version: 3.1.3 (stable) (Tue Sep 26 14:25:13 2023 +0000) on "macos_arm64"
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "dart fix --apply" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/sBzo9O/my_flutter_package, {options: null}),
MockLogger.detail(Running: dart with [fix, --apply], {style: null}),
MockLogger.detail(
stdout:
Computing fixes in my_flutter_package...
Nothing to fix!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good Flutter Package! 🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/flutter_package_test.dart 193:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/flutter_package_test.dart -p vm --plain-name 'create flutter_package running the command creates flutter package'
00:07 +95 ~1 -13: test/src/commands/create/commands/flame_game_test.dart: create flame_game running the command create flame game [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_flame_game ^0.4.0, {style: null}),
MockLogger.detail(Validating project name; args: [my_app], {style: null}),
MockLogger.detail(Validating org name; com.example.verygoodcore, {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_app], {style: null}),
MockLogger.detail(Running: flutter with [--version], {style: null}),
MockLogger.detail(
stdout:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (2 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.progress(Running "flutter pub get" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/5hINLG/my_app, {options: null}),
MockLogger.detail(Running: flutter with [pub, get], {style: null}),
MockLogger.detail(
stdout:
Resolving dependencies...
Got dependencies!
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.detail(Running: dart with [--version], {style: null}),
MockLogger.detail(
stdout:
Dart SDK version: 3.1.3 (stable) (Tue Sep 26 14:25:13 2023 +0000) on "macos_arm64"
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "dart fix --apply" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/5hINLG/my_app, {options: null}),
MockLogger.detail(Running: dart with [fix, --apply], {style: null}),
MockLogger.detail(
stdout:
Computing fixes in my_app...
Nothing to fix!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good Game powered by Flame! 🔥🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/flame_game_test.dart 207:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/flame_game_test.dart -p vm --plain-name 'create flame_game running the command create flame game'
00:07 +98 ~1 -14: test/src/commands/create/commands/flutter_plugin_test.dart: create flutter_plugin running the command creates a flutter plugin [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_flutter_plugin ^0.6.0, {style: null}),
MockLogger.detail(Validating project name; args: [my_plugin], {style: null}),
MockLogger.detail(Validating org name; com.example.verygoodcore, {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_plugin], {style: null}),
MockLogger.detail(Running: flutter with [--version], {style: null}),
MockLogger.detail(
stdout:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (2 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
, {style: null}),
MockLogger.detail(
stderr:
Waiting for another flutter command to release the startup lock...
, {style: null}),
MockLogger.progress(Running "flutter packages get" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/8sCqAx/my_plugin, {options: null}),
MockLogger.detail(Running: flutter with [packages, get], {style: null}),
MockLogger.detail(
stdout:
Resolving dependencies...
Got dependencies!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.detail(Running: dart with [--version], {style: null}),
MockLogger.detail(
stdout:
Dart SDK version: 3.1.3 (stable) (Tue Sep 26 14:25:13 2023 +0000) on "macos_arm64"
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "dart fix --apply" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/8sCqAx/my_plugin, {options: null}),
MockLogger.detail(Running: dart with [fix, --apply], {style: null}),
MockLogger.detail(
stdout:
Computing fixes in my_plugin...
Nothing to fix!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good Flutter Plugin! 🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/flutter_plugin_test.dart 212:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/flutter_plugin_test.dart -p vm --plain-name 'create flutter_plugin running the command creates a flutter plugin'
00:08 +122 ~1 -15: test/src/commands/create/commands/dart_cli_test.dart: create dart_cli running the command creates dart package [E]
No matching calls. All calls: MockLogger.detail(Building generator from brick: very_good_dart_cli ^0.5.1, {style: null}),
MockLogger.detail(Validating project name; args: [my_cli], {style: null}),
[VERIFIED] MockLogger.progress(Bootstrapping, {options: null}),
MockLogger.detail(Validating project name; args: [my_cli], {style: null}),
MockLogger.detail(Running: flutter with [--version], {style: null}),
MockLogger.detail(
stdout:
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (2 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "flutter pub get" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/RcZtJD/my_cli, {options: null}),
MockLogger.detail(Running: flutter with [pub, get], {style: null}),
MockLogger.detail(
stdout:
Resolving dependencies...
Got dependencies!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.detail(Running: dart with [--version], {style: null}),
MockLogger.detail(
stdout:
Dart SDK version: 3.1.3 (stable) (Tue Sep 26 14:25:13 2023 +0000) on "macos_arm64"
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.progress(Running "dart fix --apply" in /var/folders/bk/yn4rn85j633byl0jz0tcxmlh0000gn/T/RcZtJD/my_cli, {options: null}),
MockLogger.detail(Running: dart with [fix, --apply], {style: null}),
MockLogger.detail(
stdout:
Computing fixes in my_cli...
Nothing to fix!
, {style: null}),
MockLogger.detail(
stderr:
, {style: null}),
MockLogger.info(
, {style: null}),
MockLogger.info(Created a Very Good Dart CLI application! 🦄, {style: null}),
MockLogger.info(
, {style: null})
(If you called `verify(...).called(0);`, please instead use `verifyNever(...);`.)
package:matcher fail
package:mocktail/src/mocktail.dart 728:7 _VerifyCall._checkWith
package:mocktail/src/mocktail.dart 519:18 _makeVerify.<fn>
test/src/commands/create/commands/dart_cli_test.dart 200:15 main.<fn>.<fn>.<fn>
To run this test again: /Users/sachin/FlutterDev/flutter/bin/cache/dart-sdk/bin/dart test test/src/commands/create/commands/dart_cli_test.dart -p vm --plain-name 'create dart_cli running the command creates dart package'
00:12 +125 ~1 -15: Some tests failed.
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as expectedSomething isn't working as expected
Type
Projects
Status
Done