Content-Length: 295789 | pFad | http://github.com/flutter/flutter/issues/152982

09 `flutter test` should be able to run when there's no `test` folder, without warnings · Issue #152982 · flutter/flutter · GitHub
Skip to content

flutter test should be able to run when there's no test folder, without warnings #152982

@feinstein

Description

@feinstein

Use case

flutter test shows a warning when we run it on a project that doesn't have a test folder.

When I create a new project, from my template, I don't have any tests yet, and the warning breaks my CICD pipeline. In order to fix this, I am forced to add a fake test, or only run flutter test if the directory exists.

Proposal

Add a flag into flutter test to disable warnings when it detects no test directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/152982

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy