Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .build/Build.Tests.2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ partial class Build
.Produces(TestResultDirectory / "*.trx")
.Executes(() => RunClientTests(SourceDirectory / "StrawberryShake" / "Tooling" / "StrawberryShake.Tooling.sln"));

Target TestMocha => _ => _
.Produces(TestResultDirectory / "*.trx")
.Executes(() => RunTests(SourceDirectory / "Mocha" / "Mocha.sln"));

void RunClientTests(AbsolutePath solutionFile)
{
RunTests(solutionFile);
Expand Down
3 changes: 2 additions & 1 deletion .build/Build.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ partial class Build
TestHotChocolateUtilities,
TestStrawberryShakeClient,
TestStrawberryShakeCodeGeneration,
TestStrawberryShakeTooling);
TestStrawberryShakeTooling,
TestMocha);

Target Cover => _ => _
.Produces(TestResultDirectory / "*.trx")
Expand Down
3 changes: 2 additions & 1 deletion .build/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ static class Helpers
Path.Combine("StrawberryShake", "CodeGeneration"),
Path.Combine("StrawberryShake", "MetaPackages"),
Path.Combine("StrawberryShake", "Tooling"),
"CookieCrumble"
"CookieCrumble",
"Mocha"
};

static IEnumerable<string> GetAllProjects(
Expand Down
31 changes: 31 additions & 0 deletions src/All.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,37 @@
<Project Path="HotChocolate/Utilities/test/Utilities.Introspection.Tests/HotChocolate.Utilities.Introspection.Tests.csproj" />
<Project Path="HotChocolate/Utilities/test/Utilities.Tests/HotChocolate.Utilities.Tests.csproj" />
</Folder>
<Folder Name="/Mocha/" />
<Folder Name="/Mocha/src/">
<Project Path="Mocha/src/Mocha.Abstractions/Mocha.Abstractions.csproj" />
<Project Path="Mocha/src/Mocha.EntityFrameworkCore.Postgres/Mocha.EntityFrameworkCore.Postgres.csproj" />
<Project Path="Mocha/src/Mocha.EntityFrameworkCore/Mocha.EntityFrameworkCore.csproj" />
<Project Path="Mocha/src/Mocha.Hosting/Mocha.Hosting.csproj" />
<Project Path="Mocha/src/Mocha.Outbox/Mocha.Outbox.csproj" />
<Project Path="Mocha/src/Mocha.Threading/Mocha.Threading.csproj" />
<Project Path="Mocha/src/Mocha.Transport.InMemory/Mocha.Transport.InMemory.csproj" />
<Project Path="Mocha/src/Mocha.Transport.RabbitMQ/Mocha.Transport.RabbitMQ.csproj" />
<Project Path="Mocha/src/Mocha/Mocha.csproj" />
</Folder>
<Folder Name="/Mocha/src/Demo/">
<Project Path="Mocha/src/Demo/Demo.AppHost/Demo.AppHost.csproj" />
<Project Path="Mocha/src/Demo/Demo.Billing/Demo.Billing.csproj" />
<Project Path="Mocha/src/Demo/Demo.Catalog/Demo.Catalog.csproj" />
<Project Path="Mocha/src/Demo/Demo.Contracts/Demo.Contracts.csproj" />
<Project Path="Mocha/src/Demo/Demo.ServiceDefaults/Demo.ServiceDefaults.csproj" />
<Project Path="Mocha/src/Demo/Demo.Shipping/Demo.Shipping.csproj" />
</Folder>
<Folder Name="/Mocha/test/">
<Project Path="Mocha/test/Demo.Catalog.Tests/Demo.Catalog.Tests.csproj" />
<Project Path="Mocha/test/Mocha.EntityFrameworkCore.Postgres.Tests/Mocha.EntityFrameworkCore.Postgres.Tests.csproj" />
<Project Path="Mocha/test/Mocha.Hosting.Tests/Mocha.Hosting.Tests.csproj" />
<Project Path="Mocha/test/Mocha.Sagas.TestHelpers/Mocha.Sagas.TestHelpers.csproj" />
<Project Path="Mocha/test/Mocha.Sagas.Tests/Mocha.Sagas.Tests.csproj" />
<Project Path="Mocha/test/Mocha.TestHelpers/Mocha.TestHelpers.csproj" />
<Project Path="Mocha/test/Mocha.Tests/Mocha.Tests.csproj" />
<Project Path="Mocha/test/Mocha.Transport.InMemory.Tests/Mocha.Transport.InMemory.Tests.csproj" />
<Project Path="Mocha/test/Mocha.Transport.RabbitMQ.Tests/Mocha.Transport.RabbitMQ.Tests.csproj" />
</Folder>
<Folder Name="/Nitro/" />
<Folder Name="/Nitro/CommandLine/" />
<Folder Name="/Nitro/CommandLine/src/">
Expand Down
9 changes: 8 additions & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" />
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="10.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.1" />
<PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.2.0" />
<PackageVersion Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="Microsoft.OpenApi.Readers" Version="1.6.14" />
Expand All @@ -42,8 +44,10 @@
<PackageVersion Include="NetTopologySuite" Version="2.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.2" />
<PackageVersion Include="NodaTime" Version="3.2.2" />
<PackageVersion Include="Npgsql" Version="8.0.4" />
<PackageVersion Include="Npgsql" Version="8.0.7" />
<PackageVersion Include="OpenTelemetry" Version="1.14.0" />
<PackageVersion Include="OpenTelemetry.Api" Version="1.1.0" />
<PackageVersion Include="Polly" Version="8.6.5" />
<PackageVersion Include="ProjNET" Version="2.0.0" />
<PackageVersion Include="RabbitMQ.Client" Version="7.0.0" />
<PackageVersion Include="RavenDB.Client" Version="7.0.0" />
Expand Down Expand Up @@ -78,6 +82,7 @@
<PackageVersion Include="xunit" Version="2.9.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="10.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
Expand Down Expand Up @@ -107,6 +112,7 @@
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="10.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.2" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="9.0.2" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="9.0.2" />
Expand Down Expand Up @@ -136,6 +142,7 @@
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="9.0.8" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
Comment thread
PascalSenn marked this conversation as resolved.
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" />
Expand Down
Loading
Loading