testit-cli 2.10.1.post580__tar.gz → 2.10.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- testit_cli-2.10.2/PKG-INFO +146 -0
- testit_cli-2.10.2/README.md +113 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/setup.py +16 -4
- testit_cli-2.10.2/src/testit_cli/__init__.py +30 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/__init__.py +27 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/__init__.py +3 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/attachments_api.py +487 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/auto_tests_api.py +1711 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/configurations_api.py +200 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/parameters_api.py +464 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/project_attributes_api.py +354 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/project_sections_api.py +204 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/project_work_items_api.py +212 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/projects_api.py +610 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/sections_api.py +311 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/test_results_api.py +477 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/test_runs_api.py +1121 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/work_items_api.py +477 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api/workflows_api.py +174 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/api_client.py +898 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/apis/__init__.py +29 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/configuration.py +488 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/exceptions.py +158 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/__init__.py +5 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_auto_tests_id_work_items_post_request.py +319 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_auto_tests_post_request.py +391 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_auto_tests_put_request.py +391 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_auto_tests_search_post_request.py +327 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_configurations_search_post_request.py +339 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_parameters_post_request.py +335 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_parameters_search_post_request.py +327 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_projects_post_request.py +334 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_projects_project_id_attributes_put_request.py +355 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_projects_project_id_attributes_search_post_request.py +339 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_projects_project_id_work_items_search_post_request.py +321 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_projects_search_post_request.py +381 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_sections_post_request.py +347 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_test_results_id_put_request.py +397 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_test_results_search_post_request.py +377 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_test_runs_id_reruns_post_request.py +331 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_test_runs_post_request.py +347 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_test_runs_put_request.py +350 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/adapters_work_items_post_request.py +415 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/assign_attachment_api_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/assign_auto_test_case_id_api_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/assign_iteration_api_model.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/attachment_api_result.py +287 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/attachment_model.py +307 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/attachment_put_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/attachment_put_model_auto_test_step_results_model.py +304 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/attachment_update_request.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test.py +346 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_api_result.py +344 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_case_api_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_create_api_model.py +342 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_filter_api_model.py +311 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_id_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_model.py +410 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_model_last_test_result_configuration.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_model_last_test_result_status.py +341 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_result_reason_short.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_results_for_test_run_model.py +355 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_search_api_model.py +268 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_search_api_model_filter.py +373 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_search_api_model_includes.py +327 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_search_include_api_model.py +265 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step_api_model.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step_api_result.py +271 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step_model.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step_result.py +304 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_step_result_update_request.py +304 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_update_api_model.py +342 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/auto_test_work_item_identifier_api_result.py +269 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/available_test_result_outcome.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/configuration_filter_model.py +277 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/configuration_model.py +319 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/configuration_short_model.py +269 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_empty_test_run_api_model.py +294 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_link_api_model.py +285 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_parameter_api_model.py +281 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_project_api_model.py +278 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_step_api_model.py +273 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/create_work_item_api_model.py +372 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_api_result.py +312 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_model.py +338 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_option_api_result.py +279 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_option_model.py +283 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_put_model.py +314 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_type.py +294 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/custom_attribute_types_enum.py +294 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/date_time_range_selector_model.py +261 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/deletion_state.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/detailed_project_api_result.py +314 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/detailed_project_api_result_workflow.py +325 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/failure_category_model.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/guid_extraction_model.py +261 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/image_resize_type.py +290 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/int32_range_selector_model.py +261 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/int64_range_selector_model.py +261 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/iteration_api_result.py +272 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/iteration_model.py +272 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/label_api_model.py +266 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/label_api_result.py +269 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/label_short_model.py +272 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_api_result.py +286 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_create_api_model.py +285 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_model.py +295 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_post_model.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_put_model.py +295 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_short_api_result.py +277 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_type.py +294 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/link_update_api_model.py +289 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_api_result.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model.py +272 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model_extraction_model.py +321 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_select_test_results_api_model_filter.py +377 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_test_result_api_model.py +262 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/manual_rerun_test_result_api_model_test_result_ids.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/operation.py +269 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/parameter_api_result.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/parameter_iteration_model.py +267 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/parameter_short_api_result.py +281 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/parameter_short_model.py +299 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/parameters_filter_api_model.py +265 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/problem_details.py +279 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/project_api_result.py +297 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/project_attributes_filter_model.py +288 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/project_type_model.py +290 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model.py +322 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model_autotests_count.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model_checklists_count.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model_created_date.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model_shared_steps_count.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/projects_filter_model_test_cases_count.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/section_model.py +306 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/section_post_model.py +298 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/section_shared_step.py +337 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/section_with_steps_model.py +325 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/shared_step_model.py +292 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/shared_step_result_api_model.py +269 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/step_comment_api_model.py +314 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/step_model.py +292 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/step_post_model.py +273 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/step_result_api_model.py +288 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/tag_model.py +267 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_link_api_result.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_outcome.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_response.py +378 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_short_response.py +350 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_short_response_status.py +329 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_step_comment_update_request.py +290 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_result_update_request.py +338 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_results_filter_api_model.py +318 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_results_filter_api_model_duration.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_run_api_result.py +310 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_run_api_result_status.py +329 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_run_state.py +292 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_status_api_result.py +280 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_status_api_type.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_status_model.py +296 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/test_status_type.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/update_empty_test_run_api_model.py +299 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/update_link_api_model.py +289 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/validation_problem_details.py +289 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_api_result.py +422 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_entity_type_api_model.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_filter_api_model.py +372 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_filter_api_model_duration.py +323 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_id_api_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_parameter_key_api_model.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_parameter_key_api_result.py +263 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_priority_api_model.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_priority_model.py +293 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_select_api_model.py +268 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_select_api_model_filter.py +431 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_short_api_result.py +368 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_source_type_model.py +290 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_state_api_model.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_states.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/work_item_type_model.py +291 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/workflow_api_result.py +274 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model/workflow_status_api_result.py +280 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/model_utils.py +2058 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/models/__init__.py +170 -0
- testit_cli-2.10.2/src/testit_cli/adapters_api/rest.py +356 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/apiclient.py +106 -61
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/autotests_filter.py +7 -8
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/click_commands.py +30 -6
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/converter.py +38 -41
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/dir_worker.py +0 -1
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/html_escape_utils.py +3 -3
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/importer.py +5 -5
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/models/config.py +5 -1
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/models/testrun.py +3 -1
- testit_cli-2.10.2/src/testit_cli/models/testrun_link.py +10 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/service.py +32 -6
- testit_cli-2.10.2/src/testit_cli/testrun_metadata.py +131 -0
- testit_cli-2.10.2/src/testit_cli.egg-info/PKG-INFO +146 -0
- testit_cli-2.10.2/src/testit_cli.egg-info/SOURCES.txt +219 -0
- testit_cli-2.10.2/src/testit_cli.egg-info/requires.txt +4 -0
- testit_cli-2.10.2/src/testit_cli.egg-info/top_level.txt +2 -0
- testit_cli-2.10.2/tests/test_testrun_metadata.py +151 -0
- testit_cli-2.10.1.post580/PKG-INFO +0 -65
- testit_cli-2.10.1.post580/README.md +0 -32
- testit_cli-2.10.1.post580/src/testit_cli/models/__init__.py +0 -0
- testit_cli-2.10.1.post580/src/testit_cli.egg-info/PKG-INFO +0 -65
- testit_cli-2.10.1.post580/src/testit_cli.egg-info/SOURCES.txt +0 -34
- testit_cli-2.10.1.post580/src/testit_cli.egg-info/requires.txt +0 -4
- testit_cli-2.10.1.post580/src/testit_cli.egg-info/top_level.txt +0 -1
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/LICENSE +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/setup.cfg +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/filter_factory.py +1 -1
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/http_retry.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.10.1.post580/src/testit_cli → testit_cli-2.10.2/src/testit_cli/models}/__init__.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/models/status_type.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/parser.py +1 -1
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/service_factory.py +3 -3
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/tests/test_click.py +0 -0
- {testit_cli-2.10.1.post580 → testit_cli-2.10.2}/tests/test_service.py +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: testit-cli
|
|
3
|
+
Version: 2.10.2
|
|
4
|
+
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
|
+
Home-page: https://pypi.org/project/testit-cli/
|
|
6
|
+
Author: Integration team
|
|
7
|
+
Author-email: integrations@testit.software
|
|
8
|
+
License: Apache-2.0
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: testit-api-client==7.5.12
|
|
20
|
+
Requires-Dist: validators
|
|
21
|
+
Requires-Dist: tqdm
|
|
22
|
+
Requires-Dist: click~=8.0.4
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: author-email
|
|
25
|
+
Dynamic: classifier
|
|
26
|
+
Dynamic: description
|
|
27
|
+
Dynamic: description-content-type
|
|
28
|
+
Dynamic: home-page
|
|
29
|
+
Dynamic: license
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
Dynamic: requires-dist
|
|
32
|
+
Dynamic: summary
|
|
33
|
+
|
|
34
|
+
# Test IT CLI
|
|
35
|
+
|
|
36
|
+
[](https://pypi.python.org/pypi/testit-cli)
|
|
38
|
+
[](https://pypi.python.org/pypi/testit-cli)
|
|
39
|
+
|
|
40
|
+
This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT.
|
|
41
|
+
You can see more information in [official documentation](https://docs.testit.software/user-guide/integrations/cli.html)
|
|
42
|
+
|
|
43
|
+
## Compatibility
|
|
44
|
+
|
|
45
|
+
| Test IT | Test IT CLI |
|
|
46
|
+
|---------|----------------|
|
|
47
|
+
| 3.5+ | 0.1 |
|
|
48
|
+
| 4.4 | 1.0 |
|
|
49
|
+
| 4.5 | 1.2 |
|
|
50
|
+
| 4.6 | 1.5 |
|
|
51
|
+
| 5.0 | 2.0 |
|
|
52
|
+
| 5.2 | 2.1 |
|
|
53
|
+
| 5.2.2 | 2.2.1.post522 |
|
|
54
|
+
| 5.2.3 | 2.3.0.post523 |
|
|
55
|
+
| 5.3 | 2.4.5.post530 |
|
|
56
|
+
| 5.4 | 2.4.11.post540 |
|
|
57
|
+
| 5.5 | 2.7.2.post550 |
|
|
58
|
+
| 5.6 | 2.8.1.post560 |
|
|
59
|
+
| 5.7 | 2.9.1.post570 |
|
|
60
|
+
| 5.8 | 2.10.0.post580 |
|
|
61
|
+
| Cloud | 2.8.0 + |
|
|
62
|
+
|
|
63
|
+
1. For current versions, see the releases tab.
|
|
64
|
+
2. Starting with 5.2, we have added a TMS postscript, which means that the utility is compatible with a specific enterprise version.
|
|
65
|
+
3. If you are in doubt about which version to use, check with the support staff. support@yoonion.ru
|
|
66
|
+
|
|
67
|
+
## Test run tags and links
|
|
68
|
+
|
|
69
|
+
You can attach **test run** tags and links (for example a CI job URL) via CLI flags or environment variables.
|
|
70
|
+
They are applied when the test run is **created**, or merged into an **existing** run as early as possible (not only after results upload finishes).
|
|
71
|
+
|
|
72
|
+
| Intent | CLI | Env |
|
|
73
|
+
|--------|-----|-----|
|
|
74
|
+
| Tags | `--testruntags` / `-trt` | `TMS_TEST_RUN_TAGS` |
|
|
75
|
+
| Links | `--testrunlinks` / `-trl` | `TMS_TEST_RUN_LINKS` |
|
|
76
|
+
|
|
77
|
+
Supported commands: `testrun create`, `results import`, `results upload`.
|
|
78
|
+
|
|
79
|
+
### Tags format
|
|
80
|
+
|
|
81
|
+
Comma-separated list or JSON array:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
--testruntags "smoke,nightly"
|
|
85
|
+
--testruntags '["smoke","nightly"]'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Links format
|
|
89
|
+
|
|
90
|
+
JSON array of objects. `url` is required; `title`, `description`, and `type` are optional.
|
|
91
|
+
|
|
92
|
+
**Link types for a test run:**
|
|
93
|
+
|
|
94
|
+
- `Related`
|
|
95
|
+
- `BlockedBy`
|
|
96
|
+
- `Defect`
|
|
97
|
+
- `Issue`
|
|
98
|
+
- `Requirement`
|
|
99
|
+
- `Repository`
|
|
100
|
+
|
|
101
|
+
If `type` is omitted, `Related` is used.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
--testrunlinks '[{"url":"https://gitlab.example.com/group/project/-/jobs/12345","title":"CI Job","type":"Related"}]'
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Examples
|
|
108
|
+
|
|
109
|
+
Create a test run with tags and a CI job link (visible while the run is still In progress):
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
testit testrun create \
|
|
113
|
+
--url "$TMS_URL" \
|
|
114
|
+
--token "$TMS_TOKEN" \
|
|
115
|
+
--project-id "$TMS_PROJECT_ID" \
|
|
116
|
+
--testruntags "smoke,ci" \
|
|
117
|
+
--testrunlinks "[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]" \
|
|
118
|
+
--output ./testrun.id
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Same via env vars:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
export TMS_TEST_RUN_TAGS='smoke,ci'
|
|
125
|
+
export TMS_TEST_RUN_LINKS="[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]"
|
|
126
|
+
testit testrun create -u "$TMS_URL" -t "$TMS_TOKEN" -pi "$TMS_PROJECT_ID" -o ./testrun.id
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Merge tags/links into an existing run when uploading results:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
testit results upload \
|
|
133
|
+
--url "$TMS_URL" \
|
|
134
|
+
--token "$TMS_TOKEN" \
|
|
135
|
+
--configuration-id "$TMS_CONFIGURATION_ID" \
|
|
136
|
+
--testrun-id "$TMS_TEST_RUN_ID" \
|
|
137
|
+
--testruntags "nightly" \
|
|
138
|
+
--testrunlinks "[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]" \
|
|
139
|
+
--results ./results
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Notes:
|
|
143
|
+
|
|
144
|
+
- Test run tags/links are independent from autotest/result tags and links.
|
|
145
|
+
- On an existing run, new tags/links are **merged** (existing values are kept; duplicates by tag name / link URL are skipped).
|
|
146
|
+
- Empty or omitted values mean “do not change tags/links”.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Test IT CLI
|
|
2
|
+
|
|
3
|
+
[](https://pypi.python.org/pypi/testit-cli)
|
|
5
|
+
[](https://pypi.python.org/pypi/testit-cli)
|
|
6
|
+
|
|
7
|
+
This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT.
|
|
8
|
+
You can see more information in [official documentation](https://docs.testit.software/user-guide/integrations/cli.html)
|
|
9
|
+
|
|
10
|
+
## Compatibility
|
|
11
|
+
|
|
12
|
+
| Test IT | Test IT CLI |
|
|
13
|
+
|---------|----------------|
|
|
14
|
+
| 3.5+ | 0.1 |
|
|
15
|
+
| 4.4 | 1.0 |
|
|
16
|
+
| 4.5 | 1.2 |
|
|
17
|
+
| 4.6 | 1.5 |
|
|
18
|
+
| 5.0 | 2.0 |
|
|
19
|
+
| 5.2 | 2.1 |
|
|
20
|
+
| 5.2.2 | 2.2.1.post522 |
|
|
21
|
+
| 5.2.3 | 2.3.0.post523 |
|
|
22
|
+
| 5.3 | 2.4.5.post530 |
|
|
23
|
+
| 5.4 | 2.4.11.post540 |
|
|
24
|
+
| 5.5 | 2.7.2.post550 |
|
|
25
|
+
| 5.6 | 2.8.1.post560 |
|
|
26
|
+
| 5.7 | 2.9.1.post570 |
|
|
27
|
+
| 5.8 | 2.10.0.post580 |
|
|
28
|
+
| Cloud | 2.8.0 + |
|
|
29
|
+
|
|
30
|
+
1. For current versions, see the releases tab.
|
|
31
|
+
2. Starting with 5.2, we have added a TMS postscript, which means that the utility is compatible with a specific enterprise version.
|
|
32
|
+
3. If you are in doubt about which version to use, check with the support staff. support@yoonion.ru
|
|
33
|
+
|
|
34
|
+
## Test run tags and links
|
|
35
|
+
|
|
36
|
+
You can attach **test run** tags and links (for example a CI job URL) via CLI flags or environment variables.
|
|
37
|
+
They are applied when the test run is **created**, or merged into an **existing** run as early as possible (not only after results upload finishes).
|
|
38
|
+
|
|
39
|
+
| Intent | CLI | Env |
|
|
40
|
+
|--------|-----|-----|
|
|
41
|
+
| Tags | `--testruntags` / `-trt` | `TMS_TEST_RUN_TAGS` |
|
|
42
|
+
| Links | `--testrunlinks` / `-trl` | `TMS_TEST_RUN_LINKS` |
|
|
43
|
+
|
|
44
|
+
Supported commands: `testrun create`, `results import`, `results upload`.
|
|
45
|
+
|
|
46
|
+
### Tags format
|
|
47
|
+
|
|
48
|
+
Comma-separated list or JSON array:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
--testruntags "smoke,nightly"
|
|
52
|
+
--testruntags '["smoke","nightly"]'
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Links format
|
|
56
|
+
|
|
57
|
+
JSON array of objects. `url` is required; `title`, `description`, and `type` are optional.
|
|
58
|
+
|
|
59
|
+
**Link types for a test run:**
|
|
60
|
+
|
|
61
|
+
- `Related`
|
|
62
|
+
- `BlockedBy`
|
|
63
|
+
- `Defect`
|
|
64
|
+
- `Issue`
|
|
65
|
+
- `Requirement`
|
|
66
|
+
- `Repository`
|
|
67
|
+
|
|
68
|
+
If `type` is omitted, `Related` is used.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
--testrunlinks '[{"url":"https://gitlab.example.com/group/project/-/jobs/12345","title":"CI Job","type":"Related"}]'
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Examples
|
|
75
|
+
|
|
76
|
+
Create a test run with tags and a CI job link (visible while the run is still In progress):
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
testit testrun create \
|
|
80
|
+
--url "$TMS_URL" \
|
|
81
|
+
--token "$TMS_TOKEN" \
|
|
82
|
+
--project-id "$TMS_PROJECT_ID" \
|
|
83
|
+
--testruntags "smoke,ci" \
|
|
84
|
+
--testrunlinks "[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]" \
|
|
85
|
+
--output ./testrun.id
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Same via env vars:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
export TMS_TEST_RUN_TAGS='smoke,ci'
|
|
92
|
+
export TMS_TEST_RUN_LINKS="[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]"
|
|
93
|
+
testit testrun create -u "$TMS_URL" -t "$TMS_TOKEN" -pi "$TMS_PROJECT_ID" -o ./testrun.id
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Merge tags/links into an existing run when uploading results:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
testit results upload \
|
|
100
|
+
--url "$TMS_URL" \
|
|
101
|
+
--token "$TMS_TOKEN" \
|
|
102
|
+
--configuration-id "$TMS_CONFIGURATION_ID" \
|
|
103
|
+
--testrun-id "$TMS_TEST_RUN_ID" \
|
|
104
|
+
--testruntags "nightly" \
|
|
105
|
+
--testrunlinks "[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]" \
|
|
106
|
+
--results ./results
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Notes:
|
|
110
|
+
|
|
111
|
+
- Test run tags/links are independent from autotest/result tags and links.
|
|
112
|
+
- On an existing run, new tags/links are **merged** (existing values are kept; duplicates by tag name / link URL are skipped).
|
|
113
|
+
- Empty or omitted values mean “do not change tags/links”.
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "2.10.
|
|
3
|
+
VERSION = "2.10.2"
|
|
4
|
+
|
|
5
|
+
ADAPTERS_ROOT = "src/testit_cli/adapters_api"
|
|
6
|
+
ADAPTERS_PACKAGES = ["adapters_api"] + [
|
|
7
|
+
f"adapters_api.{pkg}" for pkg in find_packages(where=ADAPTERS_ROOT)
|
|
8
|
+
]
|
|
9
|
+
CLI_PACKAGES = [
|
|
10
|
+
pkg for pkg in find_packages(where="src")
|
|
11
|
+
if not pkg.startswith("testit_cli.adapters_api")
|
|
12
|
+
]
|
|
4
13
|
|
|
5
14
|
setup(
|
|
6
15
|
name='testit-cli',
|
|
@@ -24,9 +33,12 @@ setup(
|
|
|
24
33
|
'Programming Language :: Python :: 3.12',
|
|
25
34
|
],
|
|
26
35
|
py_modules=['testit_cli'],
|
|
27
|
-
packages=
|
|
28
|
-
package_dir={
|
|
29
|
-
|
|
36
|
+
packages=CLI_PACKAGES + ADAPTERS_PACKAGES,
|
|
37
|
+
package_dir={
|
|
38
|
+
'': 'src',
|
|
39
|
+
'adapters_api': ADAPTERS_ROOT,
|
|
40
|
+
},
|
|
41
|
+
install_requires=['testit-api-client==7.5.12', 'validators', 'tqdm', 'click~=8.0.4'],
|
|
30
42
|
entry_points={
|
|
31
43
|
'console_scripts': [
|
|
32
44
|
'testit = testit_cli.__main__:console_main'
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Register vendored OpenAPI client as package name ``adapters_api``."""
|
|
2
|
+
import importlib.util
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _ensure_adapters_api() -> None:
|
|
8
|
+
if "adapters_api" in sys.modules:
|
|
9
|
+
return
|
|
10
|
+
try:
|
|
11
|
+
import adapters_api # noqa: F401
|
|
12
|
+
return
|
|
13
|
+
except ImportError:
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
adapters_dir = Path(__file__).resolve().parent / "adapters_api"
|
|
17
|
+
init_file = adapters_dir / "__init__.py"
|
|
18
|
+
spec = importlib.util.spec_from_file_location(
|
|
19
|
+
"adapters_api",
|
|
20
|
+
init_file,
|
|
21
|
+
submodule_search_locations=[str(adapters_dir)],
|
|
22
|
+
)
|
|
23
|
+
if spec is None or spec.loader is None:
|
|
24
|
+
raise ImportError(f"Cannot load adapters_api from {adapters_dir}")
|
|
25
|
+
module = importlib.util.module_from_spec(spec)
|
|
26
|
+
sys.modules["adapters_api"] = module
|
|
27
|
+
spec.loader.exec_module(module)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
_ensure_adapters_api()
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: adapters
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__version__ = "1.0.0"
|
|
14
|
+
|
|
15
|
+
# import ApiClient
|
|
16
|
+
from adapters_api.api_client import ApiClient
|
|
17
|
+
|
|
18
|
+
# import Configuration
|
|
19
|
+
from adapters_api.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
# import exceptions
|
|
22
|
+
from adapters_api.exceptions import OpenApiException
|
|
23
|
+
from adapters_api.exceptions import ApiAttributeError
|
|
24
|
+
from adapters_api.exceptions import ApiTypeError
|
|
25
|
+
from adapters_api.exceptions import ApiValueError
|
|
26
|
+
from adapters_api.exceptions import ApiKeyError
|
|
27
|
+
from adapters_api.exceptions import ApiException
|