{
    "sourceFile": "cleanroom/tests/bdd/bdd.rs",
    "activeCommit": 0,
    "commits": [
        {
            "activePatchIndex": 1,
            "patches": [
                {
                    "date": 1760261427412,
                    "content": "Index: \n===================================================================\n--- \n+++ \n"
                },
                {
                    "date": 1760261842054,
                    "content": "Index: \n===================================================================\n--- \n+++ \n@@ -12,101 +12,123 @@\n /// This module provides the main test runner that executes all BDD scenarios\n /// using the Cucumber framework. Each test function corresponds to a feature file.\n \n #[tokio::test]\n-async fn test_cleanroom_features() {\n+async fn test_unified_execution() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/cleanroom.feature\"])\n+        .features(&[\"tests/bdd/features/01_unified_execution.feature\"])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_scenario_features() {\n+async fn test_backend_autodetect() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/scenarios.feature\"])\n+        .features(&[\"tests/bdd/features/02_backend_autodetect.feature\"])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_assertion_features() {\n+async fn test_config_precedence() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/assertions.feature\"])\n+        .features(&[\"tests/bdd/features/03_config_precedence.feature\"])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_coverage_features() {\n+async fn test_scenario_dsl() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/coverage.feature\"])\n+        .features(&[\"tests/bdd/features/04_scenario_dsl.feature\"])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_attestation_features() {\n+async fn test_assertions() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/attestation.feature\"])\n+        .features(&[\"tests/bdd/features/05_assertions.feature\"])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n async fn test_all_features() {\n     CleanroomWorld::cucumber()\n         .features(&[\n-            \"tests/bdd/features/cleanroom.feature\",\n-            \"tests/bdd/features/scenarios.feature\",\n-            \"tests/bdd/features/assertions.feature\",\n-            \"tests/bdd/features/coverage.feature\",\n-            \"tests/bdd/features/attestation.feature\",\n+            \"tests/bdd/features/01_unified_execution.feature\",\n+            \"tests/bdd/features/02_backend_autodetect.feature\",\n+            \"tests/bdd/features/03_config_precedence.feature\",\n+            \"tests/bdd/features/04_scenario_dsl.feature\",\n+            \"tests/bdd/features/05_assertions.feature\",\n+            \"tests/bdd/features/06_snapshots.feature\",\n+            \"tests/bdd/features/07_coverage.feature\",\n+            \"tests/bdd/features/08_security_defaults.feature\",\n+            \"tests/bdd/features/09_services.feature\",\n+            \"tests/bdd/features/10_redaction.feature\",\n+            \"tests/bdd/features/11_determinism.feature\",\n+            \"tests/bdd/features/12_errors.feature\",\n+            \"tests/bdd/features/13_windows_local.feature\",\n+            \"tests/bdd/features/14_concurrency.feature\",\n+            \"tests/bdd/features/15_api_stability.feature\",\n+            \"tests/bdd/features/16_freeze_outputs.feature\",\n+            \"tests/bdd/features/17_policy_typestate.feature\",\n+            \"tests/bdd/features/18_cli_integration.feature\",\n+            \"tests/bdd/features/19_service_teardown.feature\",\n+            \"tests/bdd/features/20_artifact_contract.feature\",\n+            \"tests/bdd/features/21_engine_matrix.feature\",\n+            \"tests/bdd/features/22_tracing.feature\",\n+            \"tests/bdd/features/23_skip_logic.feature\",\n+            \"tests/bdd/features/24_io_limits.feature\",\n+            \"tests/bdd/features/25_workdir_isolation.feature\",\n+            \"tests/bdd/features/26_time_budget.feature\",\n+            \"tests/bdd/features/27_json_report.feature\",\n         ])\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_cleanroom_features_verbose() {\n+async fn test_unified_execution_verbose() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/cleanroom.feature\"])\n+        .features(&[\"tests/bdd/features/01_unified_execution.feature\"])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_scenario_features_verbose() {\n+async fn test_backend_autodetect_verbose() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/scenarios.feature\"])\n+        .features(&[\"tests/bdd/features/02_backend_autodetect.feature\"])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_assertion_features_verbose() {\n+async fn test_config_precedence_verbose() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/assertions.feature\"])\n+        .features(&[\"tests/bdd/features/03_config_precedence.feature\"])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_coverage_features_verbose() {\n+async fn test_scenario_dsl_verbose() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/coverage.feature\"])\n+        .features(&[\"tests/bdd/features/04_scenario_dsl.feature\"])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n }\n \n #[tokio::test]\n-async fn test_attestation_features_verbose() {\n+async fn test_assertions_verbose() {\n     CleanroomWorld::cucumber()\n-        .features(&[\"tests/bdd/features/attestation.feature\"])\n+        .features(&[\"tests/bdd/features/05_assertions.feature\"])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n }\n@@ -114,13 +136,35 @@\n #[tokio::test]\n async fn test_all_features_verbose() {\n     CleanroomWorld::cucumber()\n         .features(&[\n-            \"tests/bdd/features/cleanroom.feature\",\n-            \"tests/bdd/features/scenarios.feature\",\n-            \"tests/bdd/features/assertions.feature\",\n-            \"tests/bdd/features/coverage.feature\",\n-            \"tests/bdd/features/attestation.feature\",\n+            \"tests/bdd/features/01_unified_execution.feature\",\n+            \"tests/bdd/features/02_backend_autodetect.feature\",\n+            \"tests/bdd/features/03_config_precedence.feature\",\n+            \"tests/bdd/features/04_scenario_dsl.feature\",\n+            \"tests/bdd/features/05_assertions.feature\",\n+            \"tests/bdd/features/06_snapshots.feature\",\n+            \"tests/bdd/features/07_coverage.feature\",\n+            \"tests/bdd/features/08_security_defaults.feature\",\n+            \"tests/bdd/features/09_services.feature\",\n+            \"tests/bdd/features/10_redaction.feature\",\n+            \"tests/bdd/features/11_determinism.feature\",\n+            \"tests/bdd/features/12_errors.feature\",\n+            \"tests/bdd/features/13_windows_local.feature\",\n+            \"tests/bdd/features/14_concurrency.feature\",\n+            \"tests/bdd/features/15_api_stability.feature\",\n+            \"tests/bdd/features/16_freeze_outputs.feature\",\n+            \"tests/bdd/features/17_policy_typestate.feature\",\n+            \"tests/bdd/features/18_cli_integration.feature\",\n+            \"tests/bdd/features/19_service_teardown.feature\",\n+            \"tests/bdd/features/20_artifact_contract.feature\",\n+            \"tests/bdd/features/21_engine_matrix.feature\",\n+            \"tests/bdd/features/22_tracing.feature\",\n+            \"tests/bdd/features/23_skip_logic.feature\",\n+            \"tests/bdd/features/24_io_limits.feature\",\n+            \"tests/bdd/features/25_workdir_isolation.feature\",\n+            \"tests/bdd/features/26_time_budget.feature\",\n+            \"tests/bdd/features/27_json_report.feature\",\n         ])\n         .fail_on_skipped()\n         .run_and_exit()\n         .await;\n"
                }
            ],
            "date": 1760261427412,
            "name": "Commit-0",
            "content": "use cucumber::{WorldInit, World};\nuse std::fs;\nuse std::path::Path;\n\nmod world;\nmod steps;\n\nuse world::CleanroomWorld;\n\n/// BDD test runner for Cleanroom\n///\n/// This module provides the main test runner that executes all BDD scenarios\n/// using the Cucumber framework. Each test function corresponds to a feature file.\n\n#[tokio::test]\nasync fn test_cleanroom_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/cleanroom.feature\"])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_scenario_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/scenarios.feature\"])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_assertion_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/assertions.feature\"])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_coverage_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/coverage.feature\"])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_attestation_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/attestation.feature\"])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_all_features() {\n    CleanroomWorld::cucumber()\n        .features(&[\n            \"tests/bdd/features/cleanroom.feature\",\n            \"tests/bdd/features/scenarios.feature\",\n            \"tests/bdd/features/assertions.feature\",\n            \"tests/bdd/features/coverage.feature\",\n            \"tests/bdd/features/attestation.feature\",\n        ])\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_cleanroom_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/cleanroom.feature\"])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_scenario_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/scenarios.feature\"])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_assertion_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/assertions.feature\"])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_coverage_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/coverage.feature\"])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_attestation_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\"tests/bdd/features/attestation.feature\"])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n\n#[tokio::test]\nasync fn test_all_features_verbose() {\n    CleanroomWorld::cucumber()\n        .features(&[\n            \"tests/bdd/features/cleanroom.feature\",\n            \"tests/bdd/features/scenarios.feature\",\n            \"tests/bdd/features/assertions.feature\",\n            \"tests/bdd/features/coverage.feature\",\n            \"tests/bdd/features/attestation.feature\",\n        ])\n        .fail_on_skipped()\n        .run_and_exit()\n        .await;\n}\n"
        }
    ]
}