Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
<Project>
<PropertyGroup>
<Company>ReleasedGroup</Company>
<Authors>ReleasedGroup</Authors>
<Product>Symphony</Product>
<Project>
<PropertyGroup>
<Company>ReleasedGroup</Company>
<Authors>ReleasedGroup</Authors>
<Product>Symphony</Product>
<RepositoryUrl>https://github.com/ReleasedGroup/Symphony</RepositoryUrl>
<SymphonyVersionPrefix Condition="'$(SymphonyVersionPrefix)' == ''">0.1.0</SymphonyVersionPrefix>
<SymphonyVersionSuffix Condition="'$(SymphonyVersionSuffix)' == ''">dev</SymphonyVersionSuffix>
<VersionPrefix Condition="'$(VersionPrefix)' == ''">$(SymphonyVersionPrefix)</VersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' == '' and '$(SymphonyVersionSuffix)' != ''">$(SymphonyVersionSuffix)</VersionSuffix>
<Version Condition="'$(Version)' == '' and '$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</Version>
<Version Condition="'$(Version)' == '' and '$(VersionSuffix)' == ''">$(VersionPrefix)</Version>
<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">$(VersionPrefix).0</AssemblyVersion>
<FileVersion Condition="'$(FileVersion)' == ''">$(VersionPrefix).0</FileVersion>
<InformationalVersion Condition="'$(InformationalVersion)' == ''">$(Version)</InformationalVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
</Project>
<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">$(VersionPrefix).0</AssemblyVersion>
<FileVersion Condition="'$(FileVersion)' == ''">$(VersionPrefix).0</FileVersion>
<InformationalVersion Condition="'$(InformationalVersion)' == ''">$(Version)</InformationalVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Nullable Condition="'$(Nullable)' == ''">enable</Nullable>
<Deterministic Condition="'$(Deterministic)' == ''">true</Deterministic>
<EnableNETAnalyzers Condition="'$(EnableNETAnalyzers)' == ''">true</EnableNETAnalyzers>
<AnalysisLevel Condition="'$(AnalysisLevel)' == ''">latest-recommended</AnalysisLevel>
</PropertyGroup>
</Project>
44 changes: 31 additions & 13 deletions Symphony.slnx
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
<Solution>
<Folder Name="/src/">
<Project Path="src/Symphony.Core/Symphony.Core.csproj" />
<Project Path="src/Symphony.Host/Symphony.Host.csproj" />
<Project Path="src/Symphony.Infrastructure.Agent.Codex/Symphony.Infrastructure.Agent.Codex.csproj" />
<Project Path="src/Symphony.Infrastructure.Persistence.Sqlite/Symphony.Infrastructure.Persistence.Sqlite.csproj" />
<Project Path="src/Symphony.Infrastructure.Tracker.GitHub/Symphony.Infrastructure.Tracker.GitHub.csproj" />
<Solution>
<Folder Name="/src/">
<Project Path="src/TestMining.Platform.Analysis/TestMining.Platform.Analysis.csproj" />
<Project Path="src/TestMining.Platform.Application/TestMining.Platform.Application.csproj" />
<Project Path="src/TestMining.Platform.Artefacts/TestMining.Platform.Artefacts.csproj" />
<Project Path="src/TestMining.Platform.Contracts/TestMining.Platform.Contracts.csproj" />
<Project Path="src/TestMining.Platform.Core/TestMining.Platform.Core.csproj" />
<Project Path="src/TestMining.Platform.Generation/TestMining.Platform.Generation.csproj" />
<Project Path="src/TestMining.Platform.Healing/TestMining.Platform.Healing.csproj" />
<Project Path="src/TestMining.Platform.Host/TestMining.Platform.Host.csproj" />
<Project Path="src/TestMining.Platform.Persistence/TestMining.Platform.Persistence.csproj" />
<Project Path="src/TestMining.Platform.Recorder/TestMining.Platform.Recorder.csproj" />
<Project Path="src/TestMining.Platform.Recording/TestMining.Platform.Recording.csproj" />
<Project Path="src/TestMining.Platform.Replay/TestMining.Platform.Replay.csproj" />
<Project Path="src/Symphony.Core/Symphony.Core.csproj" />
<Project Path="src/Symphony.Host/Symphony.Host.csproj" />
<Project Path="src/Symphony.Infrastructure.Agent.Codex/Symphony.Infrastructure.Agent.Codex.csproj" />
<Project Path="src/Symphony.Infrastructure.Persistence.Sqlite/Symphony.Infrastructure.Persistence.Sqlite.csproj" />
<Project Path="src/Symphony.Infrastructure.Tracker.GitHub/Symphony.Infrastructure.Tracker.GitHub.csproj" />
<Project Path="src/Symphony.Infrastructure.Workflows/Symphony.Infrastructure.Workflows.csproj" />
<Project Path="src/Symphony.Infrastructure.Workspaces/Symphony.Infrastructure.Workspaces.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Symphony.Core.Tests/Symphony.Core.Tests.csproj" />
<Project Path="tests/Symphony.Integration.Tests/Symphony.Integration.Tests.csproj" />
</Folder>
</Solution>
</Folder>
<Folder Name="/tests/">
<Project Path="tests/TestMining.Platform.Application.Tests/TestMining.Platform.Application.Tests.csproj" />
<Project Path="tests/TestMining.Platform.Core.Tests/TestMining.Platform.Core.Tests.csproj" />
<Project Path="tests/TestMining.Platform.E2E.Tests/TestMining.Platform.E2E.Tests.csproj" />
<Project Path="tests/TestMining.Platform.Fixtures/TestMining.Platform.Fixtures.csproj" />
<Project Path="tests/TestMining.Platform.Generator.Tests/TestMining.Platform.Generator.Tests.csproj" />
<Project Path="tests/TestMining.Platform.Integration.Tests/TestMining.Platform.Integration.Tests.csproj" />
<Project Path="tests/Symphony.Core.Tests/Symphony.Core.Tests.csproj" />
<Project Path="tests/Symphony.Integration.Tests/Symphony.Integration.Tests.csproj" />
</Folder>
</Solution>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace TestMining.Platform.Application;

public static class ApplicationAssemblyMarker
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Contracts\TestMining.Platform.Contracts.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>
5 changes: 5 additions & 0 deletions src/TestMining.Platform.Core/CoreAssemblyMarker.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace TestMining.Platform.Core;

public static class CoreAssemblyMarker
{
}
7 changes: 7 additions & 0 deletions src/TestMining.Platform.Core/TestMining.Platform.Core.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace TestMining.Platform.Generation;

public static class GenerationAssemblyMarker
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
11 changes: 11 additions & 0 deletions src/TestMining.Platform.Healing/TestMining.Platform.Healing.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/TestMining.Platform.Host/HostAssemblyMarker.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace TestMining.Platform.Host;

public static class HostAssemblyMarker
{
}
10 changes: 10 additions & 0 deletions src/TestMining.Platform.Host/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();

var app = builder.Build();

app.MapGet("/", () => Results.Ok("TestMining Platform Host"));

app.Run();
18 changes: 18 additions & 0 deletions src/TestMining.Platform.Host/TestMining.Platform.Host.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Analysis\TestMining.Platform.Analysis.csproj" />
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Artefacts\TestMining.Platform.Artefacts.csproj" />
<ProjectReference Include="..\TestMining.Platform.Contracts\TestMining.Platform.Contracts.csproj" />
<ProjectReference Include="..\TestMining.Platform.Generation\TestMining.Platform.Generation.csproj" />
<ProjectReference Include="..\TestMining.Platform.Healing\TestMining.Platform.Healing.csproj" />
<ProjectReference Include="..\TestMining.Platform.Persistence\TestMining.Platform.Persistence.csproj" />
<ProjectReference Include="..\TestMining.Platform.Recording\TestMining.Platform.Recording.csproj" />
<ProjectReference Include="..\TestMining.Platform.Replay\TestMining.Platform.Replay.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<Content Include="recorder.js" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions src/TestMining.Platform.Recorder/recorder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Placeholder recorder asset for the initial platform scaffold.
// Future recorder builds should keep this versioned and deterministic.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
<ProjectReference Include="..\TestMining.Platform.Recorder\TestMining.Platform.Recorder.csproj" />
</ItemGroup>
</Project>
11 changes: 11 additions & 0 deletions src/TestMining.Platform.Replay/TestMining.Platform.Replay.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
<ProjectReference Include="..\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace TestMining.Platform.Application.Tests;

public sealed class ApplicationProjectSmokeTests
{
[Fact(DisplayName = "Section 22.2 keeps the application project wired into the scaffolded test suite")]
public void ApplicationProjectReferenceIsPresent()
{
Assert.Equal("TestMining.Platform.Application", typeof(TestMining.Platform.Application.ApplicationAssemblyMarker).Assembly.GetName().Name);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>

<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\TestMining.Platform.Application\TestMining.Platform.Application.csproj" />
</ItemGroup>
</Project>
10 changes: 10 additions & 0 deletions tests/TestMining.Platform.Core.Tests/CoreProjectSmokeTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace TestMining.Platform.Core.Tests;

public sealed class CoreProjectSmokeTests
{
[Fact(DisplayName = "Section 22.2 keeps the core project wired into the scaffolded test suite")]
public void CoreProjectReferenceIsPresent()
{
Assert.Equal("TestMining.Platform.Core", typeof(TestMining.Platform.Core.CoreAssemblyMarker).Assembly.GetName().Name);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>

<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\TestMining.Platform.Core\TestMining.Platform.Core.csproj" />
</ItemGroup>
</Project>
11 changes: 11 additions & 0 deletions tests/TestMining.Platform.E2E.Tests/E2EProjectSmokeTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace TestMining.Platform.E2E.Tests;

public sealed class E2EProjectSmokeTests
{
[Fact(DisplayName = "Section 22.2 keeps the host and fixtures projects wired into the scaffolded E2E suite")]
public void HostAndFixturesProjectReferencesArePresent()
{
Assert.Equal("TestMining.Platform.Host", typeof(TestMining.Platform.Host.HostAssemblyMarker).Assembly.GetName().Name);
Assert.Equal("TestMining.Platform.Fixtures", typeof(TestMining.Platform.Fixtures.FixturesAssemblyMarker).Assembly.GetName().Name);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>

<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\TestMining.Platform.Host\TestMining.Platform.Host.csproj" />
<ProjectReference Include="..\TestMining.Platform.Fixtures\TestMining.Platform.Fixtures.csproj" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions tests/TestMining.Platform.Fixtures/FixturesAssemblyMarker.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace TestMining.Platform.Fixtures;

public static class FixturesAssemblyMarker
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace TestMining.Platform.Generator.Tests;

public sealed class GenerationProjectSmokeTests
{
[Fact(DisplayName = "Section 22.2 keeps the generation project wired into the scaffolded test suite")]
public void GenerationProjectReferenceIsPresent()
{
Assert.Equal("TestMining.Platform.Generation", typeof(TestMining.Platform.Generation.GenerationAssemblyMarker).Assembly.GetName().Name);
}
}
Loading
Loading