ScenarioDiscovery

Discovers .scenario files from classpath locations.

Supports glob patterns for flexible file matching (e.g., scenarios/*.scenario). Delegates discovery logic to ResourceDiscovery.

Functions

Link copied to clipboard
fun discover(classLoader: ClassLoader, patterns: Array<out String>): List<DiscoveredScenario>

Discovers files matching the given location patterns.

Link copied to clipboard
fun discoverScenarios(classLoader: ClassLoader, patterns: Array<out String>): List<DiscoveredScenario>

Discovers scenario files matching the given location patterns.