Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created February 3, 2026 07:36
Show Gist options
  • Select an option

  • Save guitarrapc/8cdc2feec6e85c3d0524e9cd9cfb0886 to your computer and use it in GitHub Desktop.

Select an option

Save guitarrapc/8cdc2feec6e85c3d0524e9cd9cfb0886 to your computer and use it in GitHub Desktop.
LLM Skills for TUnit

Testing Guidelines

Test Framework

This project uses TUnit as the testing framework. All tests are located in tests/MyLib.Tests/.

Running Tests

Run All Tests

dotnet test

or

cd tests/MyLib.Tests
dotnet run

Run Specific Tests with Filter

TUnit uses a tree-node filter format:

dotnet run --treenode-filter /<Assembly>/<Namespace>/<Class name>/<Test name>

Examples:

Run all tests in a specific test class FooBarTests:

dotnet run --treenode-filter /*/*/FooBarTests/

Run a specific test method:

dotnet run --treenode-filter /*/*/FooBarTests/TestMethod1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment