Skip to content

Conversation

flferretti
Copy link

This PR adds a test debug mode, allowing users to set up a test environment and select a specific test to execute.

  • Added a new --test CLI option to DebugOpts that allows users to run tests in debug mode and optionally specify the test index to focus on.
  • Updated DebugData to include a test_index field, enabling the selection of a specific test for debugging; logic added to handle default and explicit test index values. [1] [2]
  • Enhanced the debug_recipe function in src/lib.rs to support test debug mode: sets up the test environment, validates the test index, displays available tests, and provides instructions for running tests after environment setup. [1] [2] [3]

Fixes #1951
Fixes #655

@flferretti flferretti force-pushed the feat/test_execution_debug branch from 4353d58 to 8d1e241 Compare October 20, 2025 16:23
@flferretti flferretti marked this pull request as ready for review October 20, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add test execution support to debug mode Add a debug mode

1 participant