Skip to content

Unit tests now work even in Visual Studio #2724

Unit tests now work even in Visual Studio

Unit tests now work even in Visual Studio #2724

Triggered via pull request October 22, 2023 09:16
Status Success
Total duration 31m 52s
Artifacts 20

main.yml

on: pull_request
Build all projects without errors
12m 58s
Build all projects without errors
JS unit tests
2m 6s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

53 warnings
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build all projects without errors
Detected Razor language version downgrade. This is typically caused by a reference to the Microsoft.AspNetCore.Razor.Design package. Consider removing this package reference.
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L40
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L41
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L23
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L70
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/ListBoxTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L28
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L29
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L734
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L721
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L58
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L40
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L23
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L41
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L70
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/ListBoxTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L28
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L29
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, Default): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L23
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L40
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L41
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L70
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/IncludeInPagePropertyTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L28
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/RepeaterTests.cs#L29
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests): src/Samples/Tests/Tests/Control/ListBoxTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/UpdateProgressTests.cs#L235
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Control/CheckBoxTests.cs#L152
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L702
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L708
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L713
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L721
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationTests.cs#L734
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L42
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L50
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (firefox, ubuntu-latest, Production, Default): src/Samples/Tests/Tests/Feature/ValidationSummaryTests.cs#L54
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
UI tests (chrome, windows-2022, Development, Default)
Detected Razor language version downgrade. This is typically caused by a reference to the Microsoft.AspNetCore.Razor.Design package. Consider removing this package reference.

Artifacts

Produced during runtime
Name Size
analyzers-tests-net6.0-Debug-Linux Expired
67.4 KB
analyzers-tests-net6.0-Debug-Windows Expired
66.6 KB
analyzers-tests-net6.0-Debug-macOS Expired
67.8 KB
analyzers-tests-net6.0-Release-Linux Expired
67.6 KB
analyzers-tests-net6.0-Release-Windows Expired
66.8 KB
analyzers-tests-net6.0-Release-macOS Expired
67.9 KB
chrome-tests-Linux-Production-Default Expired
1.56 MB
chrome-tests-Linux-Production-ExperimentalFeaturesTests Expired
681 KB
chrome-tests-Windows-Development-Default Expired
1.73 MB
firefox-tests-Linux-Development-Default Expired
1.69 MB
firefox-tests-Linux-Development-ExperimentalFeaturesTests Expired
733 KB
firefox-tests-Linux-Production-Default Expired
679 KB
framework-tests-net6.0-Debug-Linux Expired
2.03 MB
framework-tests-net6.0-Debug-Windows Expired
2 MB
framework-tests-net6.0-Debug-macOS Expired
2.04 MB
framework-tests-net6.0-Release-Linux Expired
2.03 MB
framework-tests-net6.0-Release-Windows Expired
2.01 MB
framework-tests-net6.0-Release-macOS Expired
2.05 MB
webforms-adapters-tests-net472-Debug-Windows Expired
4.85 KB
webforms-adapters-tests-net472-Release-Windows Expired
4.86 KB