dotnet / dotnet/xcsync

Be flexible for more recent .NET versions

Open
#71 1 comment 0 reactions 1 assignee Claimed by @haritha-mohan View on GitHub
area-test enhancement
Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Description

Right now we are pretty locked in with .NET 8 when it comes to testing. For ex:
https://github.com/dotnet/xcsync/blob/2ac27d770963bf8f19aac72bc1c309155e590752/test/xcsync.tests/Projects/DotnetTest.cs#L47

Make the test cases more adaptable to forthcoming version of .NET and check for the .NET version being utilized in the test environment using an API like https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.runtimeinformation.frameworkdescription?view=net-8.0.

Doing so will help avoid misleading unit test failures.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.