test

Runs tests via dotnet test, optionally batched through a generated solution.

@dotnet test {
    configuration = "Release"
    restore = "true"
    build = "true"
    filter = "TestCategory!=integration"
    args = "--blame-hang"
}

Capabilities

CapabilityInfo
Cacheremote
Bachyes

Argument Reference

The following arguments are supported:

  • configuration - (Optional) Configuration (defaults to Debug).
  • restore - (Optional) Perform restore (omit to add --no-restore).
  • build - (Optional) Build before testing (omit to add --no-build).
  • filter - (Optional) Test filter expression (--filter).
  • args - (Optional) Additional arguments for dotnet test.
Last updated on