codemie-test-harness 0.1.179__py3-none-any.whl → 0.1.180__py3-none-any.whl

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.

Potentially problematic release.


This version of codemie-test-harness might be problematic. Click here for more details.

Files changed (130) hide show
  1. codemie_test_harness/cli/cli.py +2 -0
  2. codemie_test_harness/cli/commands/marks_cmd.py +39 -0
  3. codemie_test_harness/cli/marks_utils.py +338 -0
  4. codemie_test_harness/cli/runner.py +40 -0
  5. codemie_test_harness/tests/assistant/datasource/test_code_datasource.py +3 -3
  6. codemie_test_harness/tests/assistant/datasource/test_confluence_datasource.py +3 -3
  7. codemie_test_harness/tests/assistant/datasource/test_file_indexing.py +5 -5
  8. codemie_test_harness/tests/assistant/datasource/test_google_datasource.py +3 -3
  9. codemie_test_harness/tests/assistant/datasource/test_jira_datasource.py +3 -3
  10. codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool.py +8 -8
  11. codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
  12. codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
  13. codemie_test_harness/tests/assistant/test_assistants.py +22 -22
  14. codemie_test_harness/tests/assistant/tools/access_management/test_keycloak_tool.py +1 -1
  15. codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +2 -2
  16. codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +2 -2
  17. codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +2 -2
  18. codemie_test_harness/tests/assistant/tools/cloud/test_cloud_tools.py +1 -1
  19. codemie_test_harness/tests/assistant/tools/codebase/test_codebase_tools.py +2 -2
  20. codemie_test_harness/tests/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +2 -2
  21. codemie_test_harness/tests/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +4 -4
  22. codemie_test_harness/tests/assistant/tools/git/test_assistant_with_git_tools.py +7 -7
  23. codemie_test_harness/tests/assistant/tools/mcp/test_cli_mcp_server.py +2 -2
  24. codemie_test_harness/tests/assistant/tools/mcp/test_mcp_servers.py +2 -2
  25. codemie_test_harness/tests/assistant/tools/notification/test_assistant_notification_tools.py +2 -2
  26. codemie_test_harness/tests/assistant/tools/openapi/test_assistant_with_open_api_tools.py +1 -1
  27. codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_development_plugin.py +2 -2
  28. codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +2 -2
  29. codemie_test_harness/tests/assistant/tools/plugin/test_single_assistant_dual_time_plugins.py +1 -1
  30. codemie_test_harness/tests/assistant/tools/project_management/test_assistant_pm_tools.py +6 -6
  31. codemie_test_harness/tests/assistant/tools/report_portal/test_assistant_report_portal_tools.py +1 -1
  32. codemie_test_harness/tests/assistant/tools/research/test_assistant_research_tools.py +2 -2
  33. codemie_test_harness/tests/assistant/tools/servicenow/test_servicenow_tools.py +1 -1
  34. codemie_test_harness/tests/assistant/tools/vcs/test_assistant_with_vcs_tools.py +1 -1
  35. codemie_test_harness/tests/conversations/test_conversations_endpoints.py +5 -5
  36. codemie_test_harness/tests/e2e/test_e2e.py +6 -6
  37. codemie_test_harness/tests/integrations/project/test_default_integrations.py +14 -14
  38. codemie_test_harness/tests/integrations/project/test_project_integrations.py +9 -9
  39. codemie_test_harness/tests/integrations/user/test_default_integrations.py +14 -14
  40. codemie_test_harness/tests/integrations/user/test_user_integrations.py +12 -12
  41. codemie_test_harness/tests/llm/assistants/test_lite_llm.py +2 -2
  42. codemie_test_harness/tests/llm/assistants/test_llm.py +3 -3
  43. codemie_test_harness/tests/providers/test_providers_endpoints.py +11 -11
  44. codemie_test_harness/tests/search/test_search_assistant.py +1 -1
  45. codemie_test_harness/tests/search/test_search_datasource.py +5 -5
  46. codemie_test_harness/tests/search/test_search_integration.py +2 -2
  47. codemie_test_harness/tests/search/test_search_workflow.py +1 -1
  48. codemie_test_harness/tests/service/test_assistant_service.py +1 -1
  49. codemie_test_harness/tests/test_data/codebase_tools_test_data.py +11 -5
  50. codemie_test_harness/tests/ui/assistants/test_create_assistant.py +11 -11
  51. codemie_test_harness/tests/ui/datasource/test_create_datasource.py +7 -7
  52. codemie_test_harness/tests/ui/datasource/test_datasource_page.py +3 -3
  53. codemie_test_harness/tests/ui/datasource/test_edit_datasource.py +5 -5
  54. codemie_test_harness/tests/ui/datasource/test_view_datasource.py +5 -5
  55. codemie_test_harness/tests/ui/integrations/test_create_integration.py +9 -9
  56. codemie_test_harness/tests/ui/workflows/test_create_workflow.py +12 -12
  57. codemie_test_harness/tests/ui/workflows/test_edit_workflow.py +15 -15
  58. codemie_test_harness/tests/ui/workflows/test_workflow_details.py +19 -19
  59. codemie_test_harness/tests/ui/workflows/test_workflow_executions_page.py +36 -36
  60. codemie_test_harness/tests/ui/workflows/test_workflow_templates.py +8 -8
  61. codemie_test_harness/tests/ui/workflows/test_workflows.py +8 -8
  62. codemie_test_harness/tests/workflow/assistant_tools/access_management/test_workflow_with_assistant_with_keycloak_tool.py +1 -1
  63. codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +2 -2
  64. codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +2 -2
  65. codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +2 -2
  66. codemie_test_harness/tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +1 -1
  67. codemie_test_harness/tests/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +2 -2
  68. codemie_test_harness/tests/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +2 -2
  69. codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
  70. codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
  71. codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
  72. codemie_test_harness/tests/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +5 -5
  73. codemie_test_harness/tests/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +7 -7
  74. codemie_test_harness/tests/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +3 -3
  75. codemie_test_harness/tests/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +2 -2
  76. codemie_test_harness/tests/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +1 -1
  77. codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +2 -2
  78. codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +2 -2
  79. codemie_test_harness/tests/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +1 -1
  80. codemie_test_harness/tests/workflow/assistant_tools/report_portal/test_workflow_with_assistant_with_report_portal_tools.py +1 -1
  81. codemie_test_harness/tests/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +2 -2
  82. codemie_test_harness/tests/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
  83. codemie_test_harness/tests/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +1 -1
  84. codemie_test_harness/tests/workflow/config_validation/test_config_validation.py +1 -1
  85. codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +8 -8
  86. codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
  87. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_access_management_tool.py +3 -3
  88. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +3 -3
  89. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +3 -3
  90. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +3 -3
  91. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +3 -3
  92. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +3 -3
  93. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_elastic.py +3 -3
  94. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_sql.py +3 -3
  95. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +3 -3
  96. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +3 -3
  97. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +3 -3
  98. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +4 -4
  99. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +3 -3
  100. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_report_portal_tools.py +3 -3
  101. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_research_tools.py +3 -3
  102. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +3 -3
  103. codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +3 -3
  104. codemie_test_harness/tests/workflow/test_workflows.py +1 -1
  105. codemie_test_harness/tests/workflow/virtual_assistant_tools/access_management/test_workflow_with_keycloak_tool.py +1 -1
  106. codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +2 -2
  107. codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +2 -2
  108. codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +2 -2
  109. codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +4 -4
  110. codemie_test_harness/tests/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +2 -2
  111. codemie_test_harness/tests/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +2 -2
  112. codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
  113. codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
  114. codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
  115. codemie_test_harness/tests/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +5 -5
  116. codemie_test_harness/tests/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +7 -7
  117. codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +3 -3
  118. codemie_test_harness/tests/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +4 -4
  119. codemie_test_harness/tests/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +2 -2
  120. codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +2 -2
  121. codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +2 -2
  122. codemie_test_harness/tests/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +2 -2
  123. codemie_test_harness/tests/workflow/virtual_assistant_tools/report_portal/test_workflow_with_report_portal_tool.py +1 -1
  124. codemie_test_harness/tests/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +2 -2
  125. codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
  126. codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +1 -1
  127. {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/METADATA +8 -8
  128. {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/RECORD +130 -128
  129. {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/WHEEL +0 -0
  130. {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/entry_points.txt +0 -0
@@ -10,8 +10,8 @@ from codemie_test_harness.tests.utils.env_resolver import EnvironmentResolver
10
10
  @pytest.mark.workflow
11
11
  @pytest.mark.virtual_workflow
12
12
  @pytest.mark.openapi
13
- @pytest.mark.regression
14
- @pytest.mark.tescase("EPMCDME-6605")
13
+ @pytest.mark.api
14
+ @pytest.mark.testcase("EPMCDME-6605")
15
15
  @pytest.mark.skipif(
16
16
  EnvironmentResolver.is_azure(),
17
17
  reason="Still have an issue with encoding long strings",
@@ -14,7 +14,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
14
14
  @pytest.mark.workflow
15
15
  @pytest.mark.virtual_workflow
16
16
  @pytest.mark.plugin
17
- @pytest.mark.regression
17
+ @pytest.mark.api
18
18
  @pytest.mark.parametrize(
19
19
  "prompt,expected_response,tool_name",
20
20
  list_files_plugin_tools_test_data,
@@ -43,7 +43,7 @@ def test_workflow_with_list_files_plugin_tools(
43
43
  @pytest.mark.workflow
44
44
  @pytest.mark.virtual_workflow
45
45
  @pytest.mark.plugin
46
- @pytest.mark.regression
46
+ @pytest.mark.api
47
47
  def test_workflow_with_modify_files_plugin_tools(
48
48
  workflow_utils,
49
49
  workflow_with_virtual_assistant,
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
15
15
  @pytest.mark.virtual_workflow
16
16
  @pytest.mark.plugin
17
17
  @pytest.mark.mcp
18
- @pytest.mark.regression
18
+ @pytest.mark.api
19
19
  @pytest.mark.parametrize(
20
20
  "prompt,expected_response",
21
21
  cli_mcp_server_with_plugin_test_data,
@@ -47,7 +47,7 @@ def test_workflow_with_plugin_and_cli_mcp_server(
47
47
  @pytest.mark.virtual_workflow
48
48
  @pytest.mark.plugin
49
49
  @pytest.mark.mcp
50
- @pytest.mark.regression
50
+ @pytest.mark.api
51
51
  @pytest.mark.parametrize(
52
52
  "prompt,expected_response,tool_name",
53
53
  filesystem_mcp_server_with_plugin_test_data,
@@ -12,8 +12,8 @@ from codemie_test_harness.tests.utils.constants import (
12
12
  @pytest.mark.workflow
13
13
  @pytest.mark.virtual_workflow
14
14
  @pytest.mark.project_management
15
- @pytest.mark.regression
16
- @pytest.mark.tescase("EPMCDME-6651")
15
+ @pytest.mark.api
16
+ @pytest.mark.testcase("EPMCDME-6651")
17
17
  @pytest.mark.parametrize(
18
18
  "tool_name, integration_type, prompt, expected_response",
19
19
  pm_tools_test_data,
@@ -9,7 +9,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
9
9
  @pytest.mark.workflow
10
10
  @pytest.mark.virtual_workflow
11
11
  @pytest.mark.report_portal
12
- @pytest.mark.regression
12
+ @pytest.mark.api
13
13
  @pytest.mark.parametrize(
14
14
  "toolkit,tool_name,prompt,expected_response",
15
15
  rp_test_data,
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.base_utils import (
15
15
  @pytest.mark.workflow
16
16
  @pytest.mark.virtual_workflow
17
17
  @pytest.mark.research
18
- @pytest.mark.regression
18
+ @pytest.mark.api
19
19
  @pytest.mark.testcase("EPMCDME-6655")
20
20
  @pytest.mark.parametrize(
21
21
  "tool_name, prompt, expected_percentage",
@@ -50,7 +50,7 @@ def test_workflow_with_search_tools(
50
50
  @pytest.mark.workflow
51
51
  @pytest.mark.virtual_workflow
52
52
  @pytest.mark.research
53
- @pytest.mark.regression
53
+ @pytest.mark.api
54
54
  @pytest.mark.testcase("EPMCDME-6655")
55
55
  @pytest.mark.parametrize(
56
56
  "tool_name, prompt, expected_response",
@@ -11,7 +11,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
11
11
  @pytest.mark.workflow
12
12
  @pytest.mark.virtual_workflow
13
13
  @pytest.mark.servicenow
14
- @pytest.mark.regression
14
+ @pytest.mark.api
15
15
  def test_workflow_with_virtual_assistant_with_servicenow_tools(
16
16
  service_now_integration,
17
17
  workflow_with_virtual_assistant,
@@ -10,7 +10,7 @@ from codemie_test_harness.tests.utils.constants import vcs_integrations
10
10
  @pytest.mark.workflow
11
11
  @pytest.mark.virtual_workflow
12
12
  @pytest.mark.vcs
13
- @pytest.mark.regression
13
+ @pytest.mark.api
14
14
  @pytest.mark.parametrize(
15
15
  "tool_name, prompt, expected_response",
16
16
  vcs_tools_test_data,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: codemie-test-harness
3
- Version: 0.1.179
3
+ Version: 0.1.180
4
4
  Summary: Autotest for CodeMie backend and UI
5
5
  Author: Anton Yeromin
6
6
  Author-email: anton_yeromin@epam.com
@@ -13,7 +13,7 @@ Requires-Dist: aws-assume-role-lib (>=2.10.0,<3.0.0)
13
13
  Requires-Dist: boto3 (>=1.39.8,<2.0.0)
14
14
  Requires-Dist: click (>=8.1.7,<9.0.0)
15
15
  Requires-Dist: codemie-plugins (>=0.1.123,<0.2.0)
16
- Requires-Dist: codemie-sdk-python (==0.1.179)
16
+ Requires-Dist: codemie-sdk-python (==0.1.180)
17
17
  Requires-Dist: pytest (>=8.4.1,<9.0.0)
18
18
  Requires-Dist: pytest-playwright (>=0.7.0,<0.8.0)
19
19
  Requires-Dist: pytest-reportportal (>=5.5.2,<6.0.0)
@@ -265,7 +265,7 @@ codemie-test-harness run --marks "smoke or gitlab or jira_kb" -n 8 --reruns 2
265
265
  codemie-test-harness run --codemie-api-domain https://api.example.com --marks smoke
266
266
 
267
267
  # Run with custom test patterns
268
- codemie-test-harness run --test-path "tests/integration/" --marks regression
268
+ codemie-test-harness run --test-path "tests/integration/" --marks api
269
269
  ```
270
270
 
271
271
  Provider-specific examples:
@@ -376,7 +376,7 @@ Common markers in this repo include:
376
376
  - **smoke** - Quick smoke tests
377
377
  - **mcp** - Model Context Protocol tests
378
378
  - **plugin** - Plugin functionality tests
379
- - **regression** - Comprehensive regression tests
379
+ - **api** - Comprehensive api tests
380
380
  - **ui** - User interface tests (Playwright)
381
381
  - **jira_kb, confluence_kb, code_kb** - Knowledge base tests
382
382
  - **gitlab, github, git** - Version control integration tests
@@ -387,7 +387,7 @@ Common markers in this repo include:
387
387
  ```shell
388
388
  # Target specific environments
389
389
  codemie-test-harness run --codemie-api-domain https://preview.codemie.ai --marks smoke
390
- codemie-test-harness run --codemie-api-domain https://prod.codemie.ai --marks regression
390
+ codemie-test-harness run --codemie-api-domain https://prod.codemie.ai --marks api
391
391
 
392
392
  # Local development
393
393
  codemie-test-harness run --codemie-api-domain http://localhost:8080 --marks "smoke and not ui"
@@ -505,8 +505,8 @@ pytest -n 10 -m "not not_for_parallel_run" --reruns 2
505
505
  # Tests that cannot be run in parallel
506
506
  pytest -m not_for_parallel_run --reruns 2
507
507
 
508
- # Regression tests
509
- pytest -n 10 -m "regression and not not_for_parallel_run" --reruns 2
508
+ # API tests
509
+ pytest -n 10 -m "api and not not_for_parallel_run" --reruns 2
510
510
  pytest -m not_for_parallel_run --reruns 3
511
511
  ```
512
512
 
@@ -536,7 +536,7 @@ pytest.ini is preconfigured with rp_endpoint, rp_project, and a default rp_launc
536
536
  2) Add the flag:
537
537
 
538
538
  ```shell
539
- pytest -n 10 -m "regression and not not_for_parallel_run" --reruns 2 --reportportal
539
+ pytest -n 10 -m "api and not not_for_parallel_run" --reruns 2 --reportportal
540
540
  ```
541
541
 
542
542
  If you need access to the ReportPortal project, contact: Anton Yeromin (anton_yeromin@epam.com).