NUnit tests for TCSystem.MetaData, targeting net8.0 and net10.0.
See the repository build and test prerequisites. Run the commands below from the repository root.
Run both target frameworks, restoring and building as needed:
dotnet test MetaData/Tests/TCSystem.MetaData.Tests.csproj --configuration ReleaseRun only one framework:
dotnet test MetaData/Tests/TCSystem.MetaData.Tests.csproj --configuration Release --framework net10.0After the complete solution has already been built in Release, add --no-build --no-restore for a faster repeat run.
dotnet test MetaData/Tests/TCSystem.MetaData.Tests.csproj --configuration Release --framework net8.0 -p:CollectCoverage=true -p:CoverletOutputFormat=opencoverThe generated MetaData/Tests/coverage.net8.0.opencover.xml file is ignored by Git.
- NUnit 4
- NUnit3TestAdapter
- Microsoft.NET.Test.Sdk
- Coverlet MSBuild