Closed raffertyuy closed 3 weeks ago
.github/workflows/first-workflow.yml
cowsays-action
src/Application/src/RazorPagesTestSample/Properties/launchSettings.json
RazorPagesTestSample
src/Application/tests/RazorPagesTestSample.Tests/Properties/launchSettings.json
RazorPagesTestSample.Tests
src/Application/src/RazorPagesTestSample/RazorPagesTestSample.sln
src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.InMemory
src/Application/tests/RazorPagesTestSample.Tests/RazorPagesTestSample.Tests.csproj
Microsoft.AspNetCore.TestHost
Newtonsoft.Json
xunit
src/Application/tests/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs
Message_LengthValidation
src/Application/src/RazorPagesTestSample/Data/Message.cs
using
System.ComponentModel.DataAnnotations
oops, wrong place to do a pull request :)
Configuration Enhancements:
.github/workflows/first-workflow.yml
: Added a new GitHub Actions workflow named "My First Workflow" with jobs for echoing steps and using thecowsays-action
.src/Application/src/RazorPagesTestSample/Properties/launchSettings.json
: Added launch settings for theRazorPagesTestSample
project.src/Application/tests/RazorPagesTestSample.Tests/Properties/launchSettings.json
: Added launch settings for theRazorPagesTestSample.Tests
project.src/Application/src/RazorPagesTestSample/RazorPagesTestSample.sln
: Added a new test project to the solution and updated the solution configuration. [1] [2]Dependency Updates:
src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj
: UpdatedMicrosoft.EntityFrameworkCore
andMicrosoft.EntityFrameworkCore.InMemory
packages to version 8.0.8.src/Application/tests/RazorPagesTestSample.Tests/RazorPagesTestSample.Tests.csproj
: Updated multiple package dependencies includingMicrosoft.AspNetCore.TestHost
,Microsoft.EntityFrameworkCore
,Newtonsoft.Json
, andxunit
.New Tests:
src/Application/tests/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs
: Added a new test methodMessage_LengthValidation
to validate message length constraints and ensure proper error messages are generated.Minor Changes:
src/Application/src/RazorPagesTestSample/Data/Message.cs
: Increased the maximum allowed length for messages from 200 to 250 characters.src/Application/tests/RazorPagesTestSample.Tests/UnitTests/DataAccessLayerTest.cs
: Added a newusing
statement forSystem.ComponentModel.DataAnnotations
.