Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump NUnit from 4.2.2 to 4.3.0 in /src/backend in the nunit group #428

Closed

Bump NUnit from 4.2.2 to 4.3.0 in /src/backend in the nunit group

856eb96
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Bump NUnit from 4.2.2 to 4.3.0 in /src/backend in the nunit group #428

Bump NUnit from 4.2.2 to 4.3.0 in /src/backend in the nunit group
856eb96
Select commit
Loading
Failed to load commit list.
GitHub Actions / WebApi Tests succeeded Dec 16, 2024 in 0s

43 passed, 0 failed and 0 skipped

Tests passed successfully

✅ tests/backend/WebApi.Tests/TestResults/test-results.trx

43 tests were completed in 35s with 43 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WebApi.Tests.Attributes.DefineConstantsAttributeTests 2✅ 20ms
WebApi.Tests.Controllers.BloggingControllerTests 10✅ 163ms
WebApi.Tests.Controllers.SendMessageControllerTests 1✅ 5ms
WebApi.Tests.Controllers.ServiceControllerTests 3✅ 15ms
WebApi.Tests.Controllers.WeatherForecastControllerTests 4✅ 12ms
WebApi.Tests.Database.BloggingContextTests 7✅ 1s
WebApi.Tests.Entities.BlogDtoTests 4✅ 2ms
WebApi.Tests.Entities.PostDtoTests 5✅ 1ms
WebApi.Tests.Entities.VersionInformationTests 4✅ 2ms
WebApi.Tests.Messaging.RabbitMqTests 2✅ 1s
WebApi.Tests.ProgramTests 1✅ 329ms

✅ WebApi.Tests.Attributes.DefineConstantsAttributeTests

✅ AttributeInstantiation_WithConstantsString_IsNotNull
✅ ConstantsProperty_WithValidConstantsString_ParsesCorrectly

✅ WebApi.Tests.Controllers.BloggingControllerTests

✅ GetBlog_InvalidId_ReturnsNotFound
✅ GetBlog_ValidId_ReturnsBlog
✅ GetBlogs_ReturnsListOfBlogs
✅ GetPost_InvalidId_ReturnsNotFound
✅ GetPost_ValidId_ReturnsPost
✅ GetPosts_ReturnsListOfPosts
✅ PostBlog_InvalidId_ReturnsNotFound
✅ PostBlog_NoId_StoresBlog
✅ PostPost_InvalidId_ReturnsNotFound
✅ PostPost_NoId_StoresPost

✅ WebApi.Tests.Controllers.SendMessageControllerTests

✅ Get_ReturnsOkResult

✅ WebApi.Tests.Controllers.ServiceControllerTests

✅ Ping_ReturnsOkResult
✅ Version_ReturnsOkResult
✅ Version_ReturnsVersionWithCorrectProperties

✅ WebApi.Tests.Controllers.WeatherForecastControllerTests

✅ Get_LogsInformationMessage
✅ Get_ReturnsFiveWeatherForecasts
✅ Get_ReturnsOkResult
✅ Get_ReturnsWeatherForecastsWithCorrectProperties

✅ WebApi.Tests.Database.BloggingContextTests

✅ BloggingContextMigrate_CreatesTablesAndCanStoreData
✅ BloggingRepository_CanAddBlog
✅ BloggingRepository_CanAddPost
✅ BloggingRepository_CanUpdateBlogs
✅ BloggingRepository_CanUpdatePosts
✅ BloggingRepository_ReturnsSeededBlogsAndPosts
✅ ConnectionState_ReturnsOpen

✅ WebApi.Tests.Entities.BlogDtoTests

✅ Validate_WhenTitleIsEmpty_ReturnsValidationError
✅ Validate_WhenTitleIsTooLong_ReturnsValidationError
✅ Validate_WhenUrlIsEmpty_ReturnsValidationError
✅ Validate_WhenUrlIsTooLong_ReturnsValidationError

✅ WebApi.Tests.Entities.PostDtoTests

✅ Validate_WhenBlogIdIsZero_ReturnsValidationError
✅ Validate_WhenContentIsEmpty_ReturnsValidationError
✅ Validate_WhenContentIsTooLong_ReturnsValidationError
✅ Validate_WhenTitleIsEmpty_ReturnsValidationError
✅ Validate_WhenTitleIsTooLong_ReturnsValidationError

✅ WebApi.Tests.Entities.VersionInformationTests

✅ ConstantsProperty_ExtractsConstantsCorrectly
✅ EnvironmentNameProperty_FallbacksToUnknownWhenNoEnvironmentVariablesSet
✅ InformationalVersionProperty_ExtractsInformationalVersionCorrectly
✅ VersionProperty_ExtractsVersionCorrectly

✅ WebApi.Tests.Messaging.RabbitMqTests

✅ IsOpen_ReturnsTrue
✅ MessageSender_SendsMessage

✅ WebApi.Tests.ProgramTests

✅ GetSwaggerIndex_ReturnsOkResult