- Introduced `.github/copilot-instructions.md` as the single source of truth for domain rules, conventions, and pitfalls in each solution. - Added `CLAUDE.md` to guide Claude to read domain rules, glossary, and README before code generation. - Updated all solution and project `README.md` files to document project purpose, structure, key files, and LLM context (Copilot/Claude/Cursor). - Added or revised `docs/ARCHITECTURE.md`, `docs/CONVENTIONS.md`, and `docs/GLOSSARY.md` to clarify dependency graphs, naming, patterns, and terminology. - For FruitBankHybridApp, added `docs/SCHEMA.md` (Toon format) and expanded the glossary with business/measurement terms and common traps. - Updated all subfolder READMEs to list key files, conventions, and LLM maintenance notes. - Ensured all documentation is cross-referenced, up-to-date, and includes explicit instructions for LLMs to keep docs in sync with code and avoid suggesting removal/rollback as a solution. - Standardized documentation and onboarding for maintainability and LLM/code quality across all solutions. |
||
|---|---|---|
| .. | ||
| Compression | ||
| GeneratedWriters | ||
| Serialization | ||
| TestModels | ||
| AyCode.Core.Tests.csproj | ||
| GlobalUsings.cs | ||
| JsonExtensionTests.cs | ||
| README.md | ||
| TestModelBase.cs | ||
README.md
AyCode.Core.Tests
MSTest unit tests for AyCode.Core serialization, compression, and utilities. Covers binary/JSON round-trips, reference handling, nullable types, source generator integration, and performance benchmarks.
Folder Structure
| Folder | Purpose |
|---|---|
Serialization/ |
Binary and JSON serialization tests (20+ test classes) |
Compression/ |
GZip compression tests |
TestModels/ |
Shared test entities, enums, data factories, SignalR infrastructure |
GeneratedWriters/ |
Hand-written source generator output examples |
Key Files (Root)
GlobalUsings.cs— Global MSTest using.TestModelBase.cs— Abstract base for test models with configuration support.JsonExtensionTests.cs— JSON extension method tests.
Dependencies
| Dependency | Purpose |
|---|---|
MSTest |
Test framework |
MessagePack |
Serialization comparison |
MemoryPack |
Serialization comparison |
MongoDB.Bson |
BSON comparison |
LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.