-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
According to the website (https://tunit.dev/docs/examples/tunit-ci-pipeline/#filter-tests-by-category) I should be able to run:
# Unit tests (fast)
- name: Unit Tests
run: dotnet test --filter "Category=Unit"
# Integration tests (slower)
- name: Integration Tests
run: dotnet test --filter "Category=Integration"However, running dotnet test --filter "Category=Integration" yields the following output:
Exit code: 5
Standard output:
████████╗██╗ ██╗███╗ ██╗██╗████████╗
╚══██╔══╝██║ ██║████╗ ██║██║╚══██╔══╝
██║ ██║ ██║██╔██╗ ██║██║ ██║
██║ ██║ ██║██║╚██╗██║██║ ██║
██║ ╚██████╔╝██║ ╚████║██║ ██║
╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
TUnit v1.5.1.0 | 64-bit | Darwin 25.1.0 Darwin Kernel Version 25.1.0: Mon Oct 20 19:34:05 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6041 | osx-arm64 | .NET 8.0.22 | Microsoft Testing Platform v2.0.2
Engine Mode: SourceGenerated
Unknown option '--filter'
and doesn't run any tests.
Copilot
Metadata
Metadata
Assignees
Labels
No labels