Commit graph

22 commits

Author SHA1 Message Date
22b397ce7e Relocate test project: test/yavscTests -> src/Yavsc.Org.Tests
Move the integration test project from the top-level test/ directory into
src/ alongside the projects it tests. Rename the project (and folder) to
Yavsc.Org.Tests to match .NET conventions and reflect that it tests the
Org runtime primarily.

Path changes:
- test/yavscTests/yavscTests.csproj -> src/Yavsc.Org.Tests/Yavsc.Org.Tests.csproj
- All .cs / .json / .resx files moved to their new location
- PostItViewModelTests moved out to the dedicated src/PostIt.Tests project
  (it was unrelated to Org testing)

Build adjustments:
- <ProjectReference> paths shortened (..\..\src\X -> ..\X)
- PostIt project reference removed (covered by its own test project)
- <OutputType>exe added (required by xunit.v3)
- xunit.v3.common and xunit.v3.extensibility.core added to package versions

Solution + sln:
- yavsc.sln Project Name updated to 'Yavsc.Org.Tests' and path updated
- GUID preserved so existing build configs stay valid

Static web assets:
- The CopyStaticWebAssetsManifest target was hard-coding the destination
  filename to 'testhost.staticwebassets.endpoints.json', which worked
  when the assembly was named 'yavscTests'. Now that the assembly name
  is 'Yavsc.Org.Tests', ASP.NET Core's MapStaticAssets() looks for
  'Yavsc.Org.Tests.staticwebassets.endpoints.json' (entry-assembly-based
  resolution). Use $(MSBuildProjectName) so the copy target stays
  correct under any future rename.
2026-06-19 17:52:54 +01:00
ad19ccbcfa PostIt testing setup 2026-06-19 16:55:42 +01:00
3508f0a55d tests OK 2026-06-18 21:43:01 +01:00
c1f4d19975 fices the UI 2026-06-15 02:55:22 +01:00
e98bba4247 refacts and PostIt Nav 2026-06-11 20:02:32 +01:00
fa7d6242f1 postit and them also 2026-06-10 00:23:17 +01:00
8dc1680582 no Microsoft.Playwright depedency 2026-06-07 06:52:24 +01:00
95dec3636a Use InMemory db driver at testing 2026-05-28 22:18:26 +01:00
6cc0c519d2 tests OK 2026-04-20 00:35:51 +01:00
e1ad899158 Modernization 2026-04-19 17:23:18 +01:00
87d62791b8 fix: test infrastructure with in-memory DB, SMTP mocking, and thread-safe billing configuration
- Add in-memory database support for test isolation in WebServerFixture
- Implement TestMailSender fake SMTP provider for email test support
- Add thread synchronization to billing service registration to prevent race conditions
- Make RegisterBilling<T> idempotent to safely handle reconfiguration
- Configure test environment via in-memory settings (UseTestEmailSender, UseInMemoryDatabase)
- Add regression tests for billing module idempotency and duplicate registration detection
- Fix tests: EMaillingTests.SendEMailSynchrone, BillingServiceTests (2 tests), HaveConfigurationRoot (3 tests)

All core test infrastructure tests now passing.
2026-04-19 14:40:40 +01:00
Paul Schneider
40e8e08690 reorg 2026-02-28 21:17:54 +00:00
Paul Schneider
f1dd648970 refactoring the Register 2026-02-22 23:39:56 +00:00
Paul Schneider
2f645b7f0f load the cert file 2026-02-21 21:00:37 +00:00
Paul Schneider
ca03b496db cleanup 2026-02-16 00:14:33 +00:00
Paul Schneider
a68287d847 Dockerfile & actions 2026-02-02 00:39:24 +00:00
Paul Schneider
27a05bf9c9 testing 2025-07-30 15:52:01 +01:00
Paul Schneider
5c046dfa88 build cli 2025-07-16 00:47:50 +01:00
Paul Schneider
8fc1153e59 testing 2025-07-14 20:35:13 +01:00
Paul Schneider
2ba13c7825 build tests 2025-07-13 18:13:04 +01:00
Paul Schneider
5998c474af bump sdk to net-9 2025-06-08 14:41:50 +01:00
Paul Schneider
050b8a7aa4 Track vscode setup 2025-03-02 16:53:56 +00:00