1. 31 Oct, 2022 1 commit
  2. 24 Oct, 2022 1 commit
  3. 18 Aug, 2022 1 commit
  4. 13 Jul, 2022 1 commit
    • jensjoha's avatar
      Improve coverage speed by using new caching option for package:coverage (#107395) · 803ef6a4
      jensjoha authored
      Speedup coverage test runs by using (new) coverage handle with caching.
      
      On a `flutter test --coverage` run on `packages/flutter` the runtime goes from ~828 seconds to ~617 seconds, or a ~25% reduction in time spent (testing without coverage takes ~236 seconds so the overhead of `--coverage` in this case goes from ~592 seconds to ~381 seconds, or a ~35% reduction).
      803ef6a4
  5. 29 Jun, 2022 1 commit
  6. 15 Jun, 2022 1 commit
  7. 31 May, 2022 1 commit
    • Chris Bracken's avatar
      [tool] Migrate off deprecated coverage paramters (#104997) · 73ae3243
      Chris Bracken authored
      In https://github.com/flutter/flutter/pull/103771, we rolled
      dependencies in Flutter, which triggered an update of package:coverage
      to v1.3.1. The new version includes
      https://github.com/dart-lang/coverage/pull/370 in which two deprecations
      landed:
      
      * The `Resolver` default constructor was deprecated and replaced with
        the `Resolver.create` static factory method, which unfortunately
        happens to be async.
      * The `packagesPath` parameter to `HitMap.parseJson`, which takes the
        path to the `.packages` file of the package for which coverage is to
        be collected, was deprecated. This parameter was replaced with
        `packagePath` in https://github.com/dart-lang/coverage/pull/370 which
        was part of the overall deprecation of the .packages file in Dart
        itself https://github.com/dart-lang/sdk/issues/48272. The overall goal
        being that end-user code shouldn't need to know about implementation
        details such as whether dependency information is stored in a
        .packages file or a package_info.json file, but rather use the
        package_config package to obtain the package metadata and perform
        other functions such as resolving its dependencies to filesystem
        paths. packagesPath was replaced by packagePath, which takes the path
        to the package directory itself. Internally, package:coverage then
        uses package_config to do the rest of the package/script URI
        resolution to filesystem paths.
      
      This migrates off the deprecated `packagesPath` parameter to the
      replacement `packagePath` paramter.
      
      Issue: https://github.com/flutter/flutter/issues/103830
      73ae3243
  8. 19 May, 2022 1 commit
  9. 14 May, 2022 1 commit
  10. 10 May, 2022 1 commit
  11. 09 May, 2022 1 commit
  12. 27 Apr, 2022 1 commit
  13. 30 Mar, 2022 1 commit
  14. 18 Feb, 2022 1 commit
  15. 03 Dec, 2021 1 commit
  16. 11 Nov, 2021 2 commits
  17. 02 Nov, 2021 1 commit
  18. 06 Oct, 2021 1 commit
  19. 30 Aug, 2021 1 commit
  20. 23 Aug, 2021 1 commit
  21. 28 Jun, 2021 1 commit
  22. 03 Jun, 2021 1 commit
  23. 21 May, 2021 1 commit
  24. 28 Apr, 2021 1 commit
  25. 23 Apr, 2021 1 commit
  26. 02 Apr, 2021 2 commits
  27. 01 Apr, 2021 1 commit
  28. 31 Mar, 2021 2 commits
  29. 30 Mar, 2021 1 commit
  30. 24 Feb, 2021 2 commits
  31. 17 Feb, 2021 1 commit
  32. 14 Feb, 2021 1 commit
  33. 03 Feb, 2021 1 commit
  34. 27 Jan, 2021 1 commit
  35. 26 Jan, 2021 1 commit
  36. 05 Jan, 2021 1 commit