refactoring

This commit is contained in:
Paul Schneider 2026-06-19 19:59:15 +01:00
commit 62afee53e1
12 changed files with 13 additions and 24 deletions

View file

@ -15,7 +15,7 @@ COPY src/Yavsc.Web/*.csproj ./src/Yavsc.Web/
COPY src/Yavsc.Api/*.csproj ./src/Yavsc.Api/ COPY src/Yavsc.Api/*.csproj ./src/Yavsc.Api/
COPY src/Yavsc.Blogs/*.csproj ./src/Yavsc.Blogs/ COPY src/Yavsc.Blogs/*.csproj ./src/Yavsc.Blogs/
COPY src/cli/*.csproj ./src/cli/ COPY src/cli/*.csproj ./src/cli/
COPY test/yavscTests/*.csproj ./test/yavscTests/ COPY test/Yavsc.Org.Tests/*.csproj ./test/Yavsc.Org.Tests/
# Projets associés à PostIt # Projets associés à PostIt
COPY src/PostIt/PostIt/*.csproj ./src/PostIt/PostIt/ COPY src/PostIt/PostIt/*.csproj ./src/PostIt/PostIt/

View file

@ -40,7 +40,7 @@ Trois principes non négociables traversent tous les jalons :
| Blogs | `Yavsc.Blogs` | actif | | Blogs | `Yavsc.Blogs` | actif |
| Client chat (`PostIt`) | `PostIt` (Avalonia) + `PostIt.Android` / `PostIt.Browser` / `PostIt.Desktop` | actif, OIDC | | Client chat (`PostIt`) | `PostIt` (Avalonia) + `PostIt.Android` / `PostIt.Browser` / `PostIt.Desktop` | actif, OIDC |
| CLI admin | `src/cli` | actif | | CLI admin | `src/cli` | actif |
| Tests | `test/yavscTests` | présents, à densifier | | Tests | `test/Yavsc.Org.Tests` | présents, à densifier |
| Conteneurisation | `Dockerfile`, `Dockerfile.backend`, `docker-compose.yaml` | actif, image `pazof/yavsc-build-env` | | Conteneurisation | `Dockerfile`, `Dockerfile.backend`, `docker-compose.yaml` | actif, image `pazof/yavsc-build-env` |
| CI | `.github/workflows/`, Dependabot (multi-ecosystems) | actif | | CI | `.github/workflows/`, Dependabot (multi-ecosystems) | actif |
| Docs | `doc/Architecture.md`, `doc/ddd-exploration-2026-06-14.md` | frais (1314 juin 2026) | | Docs | `doc/Architecture.md`, `doc/ddd-exploration-2026-06-14.md` | frais (1314 juin 2026) |

View file

@ -1,6 +1,6 @@
using yavscTests.ServerFixtures;
namespace Yavsc.Tests
namespace Yavsc.Org.Tests
{ {
[Collection("Yavsc Server")] [Collection("Yavsc Server")]
public class DumpHtml : IClassFixture<WebServerFixture> public class DumpHtml : IClassFixture<WebServerFixture>

View file

@ -4,10 +4,9 @@ using Yavsc.Models;
using Yavsc.Server.Models.IT.SourceCode; using Yavsc.Server.Models.IT.SourceCode;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using yavscTests.ServerFixtures;
using Yavsc.Server.Models.IT; using Yavsc.Server.Models.IT;
namespace yavscTests namespace Yavsc.Org.Tests
{ {
[Collection("Yavsc Server")] [Collection("Yavsc Server")]
[Trait("regression", "oui")] [Trait("regression", "oui")]

View file

@ -1,9 +1,8 @@
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;
using System.Net.Security; using System.Net.Security;
using yavscTests.ServerFixtures;
using IdentityModel.Client; using IdentityModel.Client;
namespace yavscTests namespace Yavsc.Org.Tests
{ {
[Collection("Yavsc Server")] [Collection("Yavsc Server")]
[Trait("regression", "oui")] [Trait("regression", "oui")]

View file

@ -1,5 +1,5 @@
namespace yavscTests { namespace Yavsc {
public class ResxResources { public class ResxResources {
const string resPath = "Resources/Test.TestResources.resx"; const string resPath = "Resources/Test.TestResources.resx";
public void HaveAResxLoader() public void HaveAResxLoader()

View file

@ -1,8 +1,4 @@
namespace Yavsc.Org.Tests.Mandatory;
using yavscTests.ServerFixtures;
namespace yavscTests.Mandatory;
[Collection("Yavsc Server")] [Collection("Yavsc Server")]
[Trait("regression", "oui")] [Trait("regression", "oui")]

View file

@ -1,7 +1,7 @@
using Yavsc.Server.Helpers; using Yavsc.Server.Helpers;
namespace yavscTests namespace Yavsc
{ {
[Collection("Yavsc Abstract tests")] [Collection("Yavsc Abstract tests")]
[Trait("regression", "II")] [Trait("regression", "II")]

View file

@ -8,7 +8,7 @@ using Yavsc.Models.Billing;
using Yavsc.Models.Haircut; using Yavsc.Models.Haircut;
using Yavsc.Services; using Yavsc.Services;
namespace yavscTests namespace Yavsc
{ {
[Trait("regression", "II")] [Trait("regression", "II")]
public class BillingServiceTests public class BillingServiceTests

View file

@ -1,8 +1,6 @@
using yavscTests.ServerFixtures;
namespace yavscTests.Mandatory namespace Yavsc.Org.Tests.Mandatory
{ {
[Collection("Database")] [Collection("Database")]

View file

@ -1,11 +1,8 @@
using yavscTests.ServerFixtures;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Yavsc.Interface; using Yavsc.Interface;
namespace yavscTests namespace Yavsc.Org.Tests
{ {
[Collection("EMaillingTeststCollection")] [Collection("EMaillingTeststCollection")]

View file

@ -21,7 +21,7 @@ using Yavsc.Server.Helpers;
using Client = IdentityServer8.EntityFramework.Entities.Client; using Client = IdentityServer8.EntityFramework.Entities.Client;
namespace yavscTests.ServerFixtures namespace Yavsc.Org.Tests
{ {