TestimoX

API Reference

Class

BenchmarkCompositionService

Namespace TestimoX.Benchmarks.Deployment
Assembly TestimoX
Modifiers static

Resolves exact benchmark pack assignments for typed target topologies.

Inheritance

  • Object
  • BenchmarkCompositionService

Methods

public static BenchmarkCompositionPolicy CreateConservativePolicy(IEnumerable<BenchmarkPack> packs, String id = "testimox-conservative") #
Returns: BenchmarkCompositionPolicy

Creates a conservative composition policy from exact imported packs.

Parameters

packs System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkPack} requiredposition: 0
id System.String = "testimox-conservative" optionalposition: 1
public static BenchmarkCompositionResult Resolve(BenchmarkCompositionPolicy policy, IEnumerable<BenchmarkTarget> targets, IEnumerable<BenchmarkPack> packs, IEnumerable<String> explicitlyEnabledRuleIds = null, IEnumerable<BenchmarkControlSet> controlSets = null) #
Returns: BenchmarkCompositionResult

Resolves one integrity-protected policy against discovered targets and exact installed packs.

Parameters

policy TestimoX.Benchmarks.Deployment.BenchmarkCompositionPolicy requiredposition: 0
targets System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.Targets.BenchmarkTarget} requiredposition: 1
packs System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkPack} requiredposition: 2
explicitlyEnabledRuleIds System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 3
controlSets System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.Execution.BenchmarkControlSet} = null optionalposition: 4