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

TEST-0007 Add stryker step #271

Merged
merged 8 commits into from
Sep 24, 2024

TEST-0007 Fix more mutations

6c044b4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

TEST-0007 Add stryker step #271

TEST-0007 Fix more mutations
6c044b4
Select commit
Loading
Failed to load commit list.
GitHub Actions / WebApi Tests succeeded Sep 22, 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 34s with 43 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WebApi.Tests.Attributes.DefineConstantsAttributeTests 2βœ… 14ms
WebApi.Tests.Controllers.BloggingControllerTests 10βœ… 206ms
WebApi.Tests.Controllers.SendMessageControllerTests 1βœ… 4ms
WebApi.Tests.Controllers.ServiceControllerTests 3βœ… 16ms
WebApi.Tests.Controllers.WeatherForecastControllerTests 4βœ… 12ms
WebApi.Tests.Database.BloggingContextTests 7βœ… 2s
WebApi.Tests.Entities.BlogDtoTests 4βœ… 2ms
WebApi.Tests.Entities.PostDtoTests 5βœ… 2ms
WebApi.Tests.Entities.VersionInformationTests 4βœ… 3ms
WebApi.Tests.Messaging.RabbitMqTests 2βœ… 1s
WebApi.Tests.ProgramTests 1βœ… 543ms

βœ…Β 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