- 17 Jul, 2023 1 commit
-
-
Pavel Mazhnik authored
PR provides a new option to the `test` command to include coverage info of specified packages. It helps collecting coverage info in test setups where test code lives in separate packages or for multi-package projects. At present, only current package is included to the final report. Usage: Consider an app with two packages: `app`, `common`. Some of the tests in `app` use (indirectly) code that is located in `common`. When running with `--coverage` flag, that code is not included in the coverage report by default. To include `common` package in report, we can run: ```sh flutter test --coverage --coverage-package app --coverage-package common ``` Note that `--coverage-package` accepts regular expression. Fixes https://github.com/flutter/flutter/issues/79661 Fixes https://github.com/flutter/flutter/issues/101486 Fixes https://github.com/flutter/flutter/issues/93619
-
- 09 Jun, 2023 1 commit
-
-
Andrew Kolos authored
rename generated asset manifest file back to `AssetManifest.bin` (from `AssetManifest.smcbin`) (#128529) Closes https://github.com/flutter/flutter/issues/128456, which is now linked to in a code comment in this change. Reopens https://github.com/flutter/flutter/issues/124883. This effectively reverts https://github.com/flutter/flutter/pull/126077 and is intended to be cherry-picked into stable.
-
- 08 May, 2023 2 commits
-
-
fzyzcjy authored
Close https://github.com/flutter/flutter/issues/125940 I will add tests if this PR looks roughly OK :) The fix mainly mimics https://github.com/flutter/flutter/pull/115160 - just remove the default argument. p.s. I ran into this bug when wanting to set concurrency in my dart_test.yaml for one set of my tests which I need to be executed without parallalization.
-
Jackson Gardner authored
This should fix https://github.com/flutter/flutter/issues/126178 When we don't pass a `--concurrency` flag to the test package, it uses a default based on the number of cores that are on the machine. However, the web test platform itself serializes all these requests anyway, which can lead to the test package timing out. This is because from the test package's perspective, it has already started the loading process on a number of suites which are simply waiting for other test suites to compile and run. The ones that wait the longest can run up against the test packages 12 minute timeout for loading a given suite, even though they haven't actually started to try to load. Instead, we should always pass `--concurrency=1` to the test package so that it doesn't attempt to start loads concurrently in the first place.
-
- 15 Mar, 2023 1 commit
-
-
Victoria Ashworth authored
Separate attached and wireless devices
-
- 03 Mar, 2023 1 commit
-
-
Victoria Ashworth authored
Update device filtering and introduce isConnected and connectionInterface
-
- 28 Feb, 2023 1 commit
-
- 27 Feb, 2023 3 commits
-
-
Michael Goderbauer authored
Revert "Reland "Remove references to Observatory (#118577)""
-
Danny Tuppeny authored
* [flutter_tools] Add support for URI formats like ?line=x for "flutter test" * Remove unnecessary function * Handle parsing absolute paths on Windows * Use Windows-style paths when running on Windows * Fix paths in isFile * Remove unnecessary clear
-
- 21 Feb, 2023 1 commit
-
-
Mateus Felipe C. C. Pinto authored
* allow passing --file-reporter option to test running refs #69425 * Add trailing comma to help to meet style requirements * Add space between tests for clarity --------- Co-authored-by:
daniel-v <dvarga@skawa.hu>
-
- 17 Feb, 2023 1 commit
-
-
Casey Hillers authored
This reverts commit 2df140f4.
-
- 13 Feb, 2023 1 commit
-
-
Ben Konyi authored
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags. See https://github.com/dart-lang/sdk/issues/50233
-
- 16 Nov, 2022 1 commit
-
-
Elias Yishak authored
* removing default values for [reporter] and [timeout]] * passing reporter arg to see tests pass * added test to confirm TestCommand is not passing defaults * add'l helper message for [reporter] arg * default behavior for github actions + fixed tests * removing github conditional for reporter + related test * removing unused import
-
- 11 Nov, 2022 1 commit
-
-
Jonah Williams authored
* [flutter_tools] support github reporter * Update packages/flutter_tools/lib/src/commands/test.dart Co-authored-by:
Christopher Fujino <fujino@google.com> Co-authored-by:
Christopher Fujino <fujino@google.com>
-
- 23 Sep, 2022 1 commit
-
-
Lau Ching Jun authored
Refactor `DeviceManager.findTargetDevices()` and `FlutterCommand.findAllTargetDevices()`, and add a flag to not show prompt. (#112223)
-
- 06 Sep, 2022 1 commit
-
-
Liam Appelbe authored
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 3/3 * Fix tests * Chris's comment
-
- 18 Aug, 2022 1 commit
-
-
jensjoha authored
-
- 14 May, 2022 1 commit
-
-
Jonah Williams authored
-
- 27 Apr, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 Dec, 2021 1 commit
-
-
Jia Hao authored
-
- 11 Nov, 2021 2 commits
-
-
Core authored
-
Greg Spencer authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 19 May, 2021 1 commit
-
-
Hattomo (TomohiroHattori) authored
-
- 12 May, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 28 Apr, 2021 1 commit
-
-
Erick authored
-
- 26 Apr, 2021 1 commit
-
-
Sam Rawlins authored
-
- 07 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 02 Apr, 2021 2 commits
- 01 Apr, 2021 1 commit
-
-
Jia Hao authored
-
- 31 Mar, 2021 1 commit
-
-
Jia Hao authored
-
- 26 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 24 Feb, 2021 2 commits
-
-
Jia Hao authored
-
Daniel Gomez authored
-
- 17 Feb, 2021 1 commit
-
-
Danny Tuppeny authored
-
- 08 Feb, 2021 1 commit
-
-
Jonah Williams authored
This reverts commit 8b6baae4.
-