Skip to content

[bug] can't get tests to run #158

Closed
Closed
@csells

Description

@csells

I've got a POD (Plain Ol' Dart) project with unit tests and I can't get them to run.

Chat Transcript

User

use dart mcp server to run tests


Cursor

The AI model currently in use is GPT-4.


It appears that the Dart MCP server does not recognize /Users/csells/Code/dartantic_ai as a registered project root. This usually means the Dart MCP server either isn't running, isn't connected, or the project hasn't been registered with it.

To proceed, you need to:

  1. Ensure the Dart MCP server is running.
  2. Connect to the Dart Tooling Daemon (DTD) for your project.
  3. Register your project root with the MCP server if needed.

Would you like step-by-step instructions to connect the Dart MCP server to your project, or do you already have the DTD URI to provide?


User

@ws://127.0.0.1:53324/p2wywbZL938=


Cursor

The AI model currently in use is GPT-4.


The Dart MCP server is already connected, but it still does not recognize /Users/csells/Code/dartantic_ai as a registered project root. This means the project root must be registered with the Dart Tooling Daemon before you can run tests through MCP.

Next steps:

  • Please confirm if /Users/csells/Code/dartantic_ai is the correct project root.
  • If so, you may need to register or open the project in your Dart/Flutter IDE (such as VS Code or IntelliJ) with Dart MCP integration enabled, or provide the correct root URI if it is different.

Would you like instructions on how to register your project root with the Dart MCP server, or do you want to try a different root path?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions