VeryGoodOpenSource / VeryGoodOpenSource/very_good_cli

feat: enable optimization for platform tests

Open
#1,363 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Dart
Stars
2.4k
Forks
244
Avg merge
1d 19h
Merged PRs (30d)
25

Description

Description

Currently, the platform tests are running without optimization, which can make the test suite less performant. This is due to inconsistent behavior of platform tests when placed in the same file → https://github.com/VeryGoodOpenSource/very_good_cli/pull/1359/files#r2354792138

To enable optimization, further investigation of flutter test is needed to identify the issue that prevents platform tests from running in the same file.

Requirements
  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.
Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked pull request discussion and investigating how flutter test handles platform tests placed in the same file. Compare the current platform-test behavior with optimization enabled and disabled. Done means platform tests can run with optimization, all CI/CD checks pass, and test coverage does not decrease.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
performance, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.