Skip to content

Bump MSTest.TestFramework from 3.11.0 to 4.0.1 #1229

Bump MSTest.TestFramework from 3.11.0 to 4.0.1

Bump MSTest.TestFramework from 3.11.0 to 4.0.1 #1229

Triggered via pull request October 27, 2025 08:37
Status Failure
Total duration 2m 12s
Artifacts

build-and-test.yml

on: pull_request
automerge
10s
automerge
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 30 warnings
build-and-test on ubuntu-latest
Process completed with exit code 1.
build-and-test on ubuntu-latest: src/Chapter08.Tests/Listing08.03.ImplementingAnInterface.Tests.cs#L52
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter08.Tests/Listing08.03.ImplementingAnInterface.Tests.cs#L52
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter08.Tests/Listing08.02.ImplementingAndUsingInterfaces.Tests.cs#L34
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter08.Tests/Listing08.02.ImplementingAndUsingInterfaces.Tests.cs#L34
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter07.Tests/Listing07.34.Tests.cs#L16
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter07.Tests/Listing07.34.Tests.cs#L16
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter07.Tests/Listing07.20.TypeCheckingWithIsOperator.Tests.cs#L33
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter07.Tests/Listing07.20.TypeCheckingWithIsOperator.Tests.cs#L33
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest
Process completed with exit code 1.
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest
Process completed with exit code 1.
build-and-test on windows-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L47
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on ubuntu-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L28
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on macOS-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L47
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on macOS-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L28
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'