Skip to content

Allow Copilot to re-run individual tests #253193

Closed as not planned
Closed as not planned
@Skn0tt

Description

@Skn0tt

When Copilot debugs a failing test, it needs to verify its changes by re-running it. Since run_tests only allows running file-wise, this means that lots of other tests are also executed. For slow end-to-end tests, this results in a noticeable slowdown, and can also distract Copilot.

I'd like Copilot to be able to execute a single test.

One way of implementing this would be to add a testIDs parameter to run_tests that allows matching TestItem IDs. Those IDs would be included in the #testFailure text. That'd need a testing.run.id command in Code, though.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions