Skip to content

v0.2.0

Latest

Choose a tag to compare

@rogeralsing rogeralsing released this 30 Dec 10:05
· 50 commits to main since this release

New Features

Per-test timeout (20s default)

Tests that hang are now automatically killed after 20 seconds using --blame-hang.

# Use default 20s timeout
testrunner -- dotnet test ./tests

# Custom timeout
testrunner --timeout 60 -- dotnet test ./tests

Timeout vs assertion failure detection

Timed out tests are now shown separately from assertion failures:

FAILED
──────────────────────────────────────────────────
  Passed:  135
  Timeout: 2
  Failed:  1
  ...

Timed Out (2):
  ⏱ MyTests.SlowTest
  ⏱ MyTests.HangingTest

AI-friendly output

Each run now outputs the timeout setting at the end:

[testrunner] Per-test timeout: 20s (use --timeout <seconds> to change)