stabilize tests
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
- Aggregation-Only Contract (AOC) guard library, analyzers, ASP.NET Core integration, and CLI components.
|
||||
|
||||
## Required Reading
|
||||
- `docs/aoc/aoc-guardrails.md`
|
||||
- `docs/modules/aoc/guides/aoc-guardrails.md`
|
||||
- `docs/security/aoc-invariants.md`
|
||||
- `docs/modules/policy/design/policy-aoc-linting-rules.md`
|
||||
- `docs/modules/cli/guides/commands/aoc.md`
|
||||
@@ -21,3 +21,4 @@
|
||||
## Testing Rules
|
||||
- Cover guard validation, analyzer diagnostics, and ASP.NET Core filter behavior.
|
||||
- Use fixed timestamps and IDs in tests.
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
using Microsoft.CodeAnalysis;
|
||||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using Microsoft.CodeAnalysis.Diagnostics;
|
||||
using Microsoft.CodeAnalysis.Operations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
namespace StellaOps.Aoc.Analyzers;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
- Endpoint filter and HTTP results for AOC guard validation.
|
||||
|
||||
## Required Reading
|
||||
- `docs/aoc/aoc-guardrails.md`
|
||||
- `docs/modules/aoc/guides/aoc-guardrails.md`
|
||||
- `docs/security/aoc-invariants.md`
|
||||
- `src/Aoc/AGENTS.md`
|
||||
|
||||
@@ -17,3 +17,4 @@
|
||||
|
||||
## Testing Rules
|
||||
- Validate filter behavior and Problem responses for guard failures.
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
|
||||
using HttpResults = Microsoft.AspNetCore.Http.Results;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using StellaOps.Aoc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using HttpResults = Microsoft.AspNetCore.Http.Results;
|
||||
using StellaOps.Aoc;
|
||||
|
||||
namespace StellaOps.Aoc.AspNetCore.Results;
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using HttpResults = Microsoft.AspNetCore.Http.Results;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -9,7 +7,10 @@ using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using StellaOps.Aoc;
|
||||
using StellaOps.Aoc.AspNetCore.Results;
|
||||
using HttpResults = Microsoft.AspNetCore.Http.Results;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StellaOps.Aoc.AspNetCore.Routing;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
|
||||
namespace StellaOps.Aoc.AspNetCore.Routing;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
- AOC guard validation, violations, and error payload mapping.
|
||||
|
||||
## Required Reading
|
||||
- `docs/aoc/aoc-guardrails.md`
|
||||
- `docs/modules/aoc/guides/aoc-guardrails.md`
|
||||
- `docs/security/aoc-invariants.md`
|
||||
- `docs/modules/policy/design/policy-aoc-linting-rules.md`
|
||||
- `src/Aoc/AGENTS.md`
|
||||
@@ -18,3 +18,4 @@
|
||||
|
||||
## Testing Rules
|
||||
- Cover required/allowed fields, signature metadata validation, and violation ordering.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
- Unit/integration tests for AOC endpoint filters and HTTP result helpers.
|
||||
|
||||
## Required Reading
|
||||
- `docs/aoc/aoc-guardrails.md`
|
||||
- `docs/modules/aoc/guides/aoc-guardrails.md`
|
||||
- `docs/security/aoc-invariants.md`
|
||||
- `src/Aoc/__Libraries/StellaOps.Aoc.AspNetCore/AGENTS.md`
|
||||
|
||||
@@ -17,3 +17,4 @@
|
||||
|
||||
## Testing Rules
|
||||
- Cover guard failures, payload selector behavior, and status mapping.
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
- Unit tests for AOC guard validation and error payloads.
|
||||
|
||||
## Required Reading
|
||||
- `docs/aoc/aoc-guardrails.md`
|
||||
- `docs/modules/aoc/guides/aoc-guardrails.md`
|
||||
- `docs/security/aoc-invariants.md`
|
||||
- `src/Aoc/__Libraries/StellaOps.Aoc/AGENTS.md`
|
||||
|
||||
@@ -17,3 +17,4 @@
|
||||
|
||||
## Testing Rules
|
||||
- Cover required/allowed fields, signature metadata rules, and derived/forbidden fields.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user