plexus.cli.procedure.test_procedure_run module
Test suite for procedure run functionality.
Following TDD principles, these tests define the expected behavior of the procedure run system before implementation.
- class plexus.cli.procedure.test_procedure_run.TestProcedureRun
Bases:
objectTest the procedure run functionality.
- experiment_service(mock_client)
Create an procedure service instance with mocked client.
- mock_client()
Mock PlexusDashboardClient for testing.
- async test_run_experiment_basic(experiment_service, mock_client)
Test basic procedure run functionality.
- async test_run_experiment_error_handling(experiment_service, mock_client)
Test procedure run error handling.
- async test_run_experiment_nonexistent(experiment_service, mock_client)
Test running a non-existent procedure.
- async test_run_experiment_validation(experiment_service, mock_client)
Test procedure run input validation.
- async test_run_experiment_with_options(experiment_service, mock_client)
Test procedure run with optional parameters.
- class plexus.cli.procedure.test_procedure_run.TestProcedureRunIntegration
Bases:
objectIntegration tests for procedure run functionality.
- test_procedure_run_logging()
Test that procedure run provides proper logging.
- test_procedure_run_returns_structured_data()
Test that procedure run returns properly structured data.