Skip to content

Commit 579c579

Browse files
vbreussjnyrup
authored andcommitted
Run tests under .NET 8 (#2466)
1 parent 20215aa commit 579c579

File tree

10 files changed

+12
-10
lines changed

10 files changed

+12
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
dotnet-version: |
2222
6.0.x
2323
7.0.x
24+
8.0.x
2425
2526
- name: Run NUKE
2627
run: ./build.ps1
@@ -63,6 +64,7 @@ jobs:
6364
dotnet-version: |
6465
6.0.x
6566
7.0.x
67+
8.0.x
6668
6769
- name: Run NUKE
6870
run: ./build.sh UnitTests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![open issues](https://img.shields.io/github/issues/fluentassertions/fluentassertions)](https://github.com/fluentassertions/fluentassertions/issues)
1515
![](https://img.shields.io/badge/release%20strategy-githubflow-orange.svg)
1616

17-
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET 6, .NET Standard 2.0 and 2.1.
17+
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.
1818

1919
See https://www.fluentassertions.com for [background information](https://fluentassertions.com/about/), [usage documentation](https://fluentassertions.com/introduction), an [extensibility guide](https://fluentassertions.com/extensibility/), support information and more [tips & tricks](https://fluentassertions.com/tips/).
2020

Src/FluentAssertions/FluentAssertions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Authors>Dennis Doomen;Jonas Nyrup</Authors>
1919
<PackageDescription>
2020
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
21-
BDD-style unit tests. Targets .NET Framework 4.7, .NET 6, as well as .NET Standard 2.0 and 2.1.
21+
BDD-style unit tests. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.
2222
Supports the unit test frameworks MSTest2, NUnit3, XUnit2 and MSpec.
2323

2424
Supported by InfoSupport B.V.

Tests/Benchmarks/BeEquivalentToWithDeeplyNestedStructures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Benchmarks;
88

99
[MemoryDiagnoser]
1010
[SimpleJob(RuntimeMoniker.Net472)]
11-
[SimpleJob(RuntimeMoniker.Net60)]
11+
[SimpleJob(RuntimeMoniker.Net80)]
1212
public class BeEquivalentToWithDeeplyNestedStructures
1313
{
1414
public class ComplexType

Tests/Benchmarks/Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6;net472</TargetFrameworks>
3+
<TargetFrameworks>net472;net8.0</TargetFrameworks>
44
<SignAssembly>True</SignAssembly>
55
<AssemblyOriginatorKeyFile>..\..\Src\FluentAssertions\FluentAssertions.snk</AssemblyOriginatorKeyFile>
66
<OutputType>Exe</OutputType>

Tests/Benchmarks/CollectionEqual.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Benchmarks;
88

99
[MemoryDiagnoser]
1010
[SimpleJob(RuntimeMoniker.Net472)]
11-
[SimpleJob(RuntimeMoniker.Net60)]
11+
[SimpleJob(RuntimeMoniker.Net80)]
1212
public class CollectionEqualBenchmarks
1313
{
1414
private IEnumerable<int> collection1;

Tests/Benchmarks/Issue1657.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Benchmarks;
99

1010
[MemoryDiagnoser]
1111
[SimpleJob(RuntimeMoniker.Net472)]
12-
[SimpleJob(RuntimeMoniker.Net60)]
12+
[SimpleJob(RuntimeMoniker.Net80)]
1313
public class Issue1657
1414
{
1515
private List<ExampleObject> list;

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locale : "en-US"
1919
title : "Fluent Assertions"
2020
title_separator : "-"
2121
name : "Dennis Doomen"
22-
description : "A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, .NET 6.0, as well as .NET Standard 2.0 and 2.1."
22+
description : "A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher."
2323
url : "http://www.fluentassertions.com" # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
2424
baseurl : # the subpath of your site, e.g. "/blog"
2525
repository : "fluentassertions/fluentassertions" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
[<i class="fa fa-coffee"></i> Buy us a coffee](https://ko-fi.com/dennisdoomen){: .btn .btn--paypal}
3030
<br/>
3131
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
32-
BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET 6, .NET Standard 2.0 and 2.1.'
32+
BDD-style unit tests. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.'
3333
feature_row:
3434
- title: "Intention-Revealing Unit Tests"
3535
image_path: /assets/images/binoculars.svg
@@ -53,7 +53,7 @@
5353
- title: "Feature Complete"
5454
image_path: /assets/images/checklist.svg
5555
excerpt: '
56-
Targets .NET 4.7, .NET 6, .NET Standard 2.0 and 2.1.
56+
Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.
5757
Supports MSTest2, xUnit2, NUnit3 and MSpec.
5858
'
5959
- title: "Great Support"

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.101",
3+
"version": "8.0.100",
44
"rollForward": "latestMajor"
55
}
66
}

0 commit comments

Comments
 (0)