Skip to content

Can't run dart/flutter tests in the hybrid project where pubspec.yaml located not in the root of the project #33

@NaikSoftware

Description

@NaikSoftware

Steps

  • open any project with flutter submodule (for example in the module1 subdir)
  • open any test file like main_test.dart
  • run tests using a button near the main function

Actual

  • fail with error Can't find pubspec.yaml

Expected

  • Zed should analyze project, find key files like pubspec.yaml, build.gradle, package.json
  • ask user to use detected modules
  • when running tests or other commands it should take into account project structure and modules

Minimal working solution

  • Specify path in the settings to the root of the flutter module

Zed Version and System Specs

Zed: v0.202.8 (Zed)
OS: macOS 15.6.1
Memory: 16 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions