Be flexible for more recent .NET versions

Open
#71 1 comment 0 reactions 1 assignee View on GitHub

@haritha-mohan is already working on this.

Since Sep 12, 2024.

Assessment

This issue has not been assessed yet.

Description

area-test enhancement

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.

Dominant language
C#
Stars
25
Forks
10
Avg merge
12h 50m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/xcsync

All issues in dotnet/xcsync

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.