Add integration tests for Proof Chain and Reachability workflows
- Implement ProofChainTestFixture for PostgreSQL-backed integration tests. - Create StellaOps.Integration.ProofChain project with necessary dependencies. - Add ReachabilityIntegrationTests to validate call graph extraction and reachability analysis. - Introduce ReachabilityTestFixture for managing corpus and fixture paths. - Establish StellaOps.Integration.Reachability project with required references. - Develop UnknownsWorkflowTests to cover the unknowns lifecycle: detection, ranking, escalation, and resolution. - Create StellaOps.Integration.Unknowns project with dependencies for unknowns workflow.
This commit is contained in:
@@ -133,7 +133,7 @@ public class WitnessCommandGroupTests
|
||||
|
||||
// Act
|
||||
var noColorOption = showCommand.Options.FirstOrDefault(o =>
|
||||
o.Aliases.Contains("--no-color"));
|
||||
o.Name == "--no-color" || o.Aliases.Contains("--no-color"));
|
||||
|
||||
// Assert
|
||||
Assert.NotNull(noColorOption);
|
||||
@@ -148,7 +148,7 @@ public class WitnessCommandGroupTests
|
||||
|
||||
// Act
|
||||
var pathOnlyOption = showCommand.Options.FirstOrDefault(o =>
|
||||
o.Aliases.Contains("--path-only"));
|
||||
o.Name == "--path-only" || o.Aliases.Contains("--path-only"));
|
||||
|
||||
// Assert
|
||||
Assert.NotNull(pathOnlyOption);
|
||||
@@ -227,7 +227,7 @@ public class WitnessCommandGroupTests
|
||||
|
||||
// Act
|
||||
var offlineOption = verifyCommand.Options.FirstOrDefault(o =>
|
||||
o.Aliases.Contains("--offline"));
|
||||
o.Name == "--offline" || o.Aliases.Contains("--offline"));
|
||||
|
||||
// Assert
|
||||
Assert.NotNull(offlineOption);
|
||||
@@ -276,7 +276,7 @@ public class WitnessCommandGroupTests
|
||||
|
||||
// Act
|
||||
var reachableOption = listCommand.Options.FirstOrDefault(o =>
|
||||
o.Aliases.Contains("--reachable-only"));
|
||||
o.Name == "--reachable-only" || o.Aliases.Contains("--reachable-only"));
|
||||
|
||||
// Assert
|
||||
Assert.NotNull(reachableOption);
|
||||
|
||||
Reference in New Issue
Block a user