codemie-test-harness 0.1.178__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.
- codemie_test_harness/cli/cli.py +2 -0
- codemie_test_harness/cli/commands/marks_cmd.py +39 -0
- codemie_test_harness/cli/marks_utils.py +338 -0
- codemie_test_harness/cli/runner.py +40 -0
- codemie_test_harness/tests/assistant/datasource/test_code_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_confluence_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_file_indexing.py +5 -5
- codemie_test_harness/tests/assistant/datasource/test_google_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_jira_datasource.py +3 -3
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py +10 -10
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/assistant/test_assistants.py +22 -22
- codemie_test_harness/tests/assistant/tools/access_management/test_keycloak_tool.py +1 -1
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/cloud/test_cloud_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/codebase/test_codebase_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +4 -4
- codemie_test_harness/tests/assistant/tools/git/test_assistant_with_git_tools.py +7 -7
- codemie_test_harness/tests/assistant/tools/mcp/test_cli_mcp_server.py +2 -2
- codemie_test_harness/tests/assistant/tools/mcp/test_mcp_servers.py +2 -2
- codemie_test_harness/tests/assistant/tools/notification/test_assistant_notification_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/openapi/test_assistant_with_open_api_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_development_plugin.py +2 -2
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/assistant/tools/{mcp → plugin}/test_single_assistant_dual_time_plugins.py +1 -1
- codemie_test_harness/tests/assistant/tools/project_management/test_assistant_pm_tools.py +6 -6
- codemie_test_harness/tests/assistant/tools/report_portal/test_assistant_report_portal_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/research/test_assistant_research_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/servicenow/test_servicenow_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/vcs/test_assistant_with_vcs_tools.py +1 -1
- codemie_test_harness/tests/conversations/test_conversations_endpoints.py +5 -5
- codemie_test_harness/tests/e2e/test_e2e.py +6 -6
- codemie_test_harness/tests/integrations/project/test_default_integrations.py +14 -14
- codemie_test_harness/tests/integrations/project/test_project_integrations.py +9 -9
- codemie_test_harness/tests/integrations/user/test_default_integrations.py +14 -14
- codemie_test_harness/tests/integrations/user/test_user_integrations.py +12 -12
- codemie_test_harness/tests/llm/assistants/test_lite_llm.py +2 -2
- codemie_test_harness/tests/llm/assistants/test_llm.py +3 -3
- codemie_test_harness/tests/providers/test_providers_endpoints.py +11 -11
- codemie_test_harness/tests/search/test_search_assistant.py +1 -1
- codemie_test_harness/tests/search/test_search_datasource.py +5 -5
- codemie_test_harness/tests/search/test_search_integration.py +2 -2
- codemie_test_harness/tests/search/test_search_workflow.py +1 -1
- codemie_test_harness/tests/service/test_assistant_service.py +1 -1
- codemie_test_harness/tests/test_data/ado_work_item_tools_test_data.py +3 -3
- codemie_test_harness/tests/test_data/codebase_tools_test_data.py +11 -5
- codemie_test_harness/tests/ui/assistants/test_create_assistant.py +11 -11
- codemie_test_harness/tests/ui/datasource/test_create_datasource.py +19 -16
- codemie_test_harness/tests/ui/datasource/test_datasource_page.py +5 -5
- codemie_test_harness/tests/ui/datasource/test_edit_datasource.py +15 -11
- codemie_test_harness/tests/ui/datasource/test_view_datasource.py +11 -9
- codemie_test_harness/tests/ui/integrations/test_create_integration.py +9 -9
- codemie_test_harness/tests/ui/pageobject/datasources/create_edit_datasource_page.py +12 -5
- codemie_test_harness/tests/ui/pageobject/datasources/datasource_page.py +6 -2
- codemie_test_harness/tests/ui/pageobject/datasources/datasource_sidebar.py +2 -2
- codemie_test_harness/tests/ui/pageobject/datasources/view_datasource_page.py +3 -1
- codemie_test_harness/tests/ui/workflows/test_create_workflow.py +12 -12
- codemie_test_harness/tests/ui/workflows/test_edit_workflow.py +15 -15
- codemie_test_harness/tests/ui/workflows/test_workflow_details.py +19 -19
- codemie_test_harness/tests/ui/workflows/test_workflow_executions_page.py +36 -36
- codemie_test_harness/tests/ui/workflows/test_workflow_templates.py +8 -8
- codemie_test_harness/tests/ui/workflows/test_workflows.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/access_management/test_workflow_with_assistant_with_keycloak_tool.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +10 -10
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +5 -5
- codemie_test_harness/tests/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +7 -7
- codemie_test_harness/tests/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +3 -3
- codemie_test_harness/tests/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/report_portal/test_workflow_with_assistant_with_report_portal_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +1 -1
- codemie_test_harness/tests/workflow/config_validation/test_config_validation.py +1 -1
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_access_management_tool.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_elastic.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_sql.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +4 -4
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_report_portal_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_research_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +5 -3
- codemie_test_harness/tests/workflow/test_workflows.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/access_management/test_workflow_with_keycloak_tool.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +4 -4
- codemie_test_harness/tests/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +10 -10
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +5 -5
- codemie_test_harness/tests/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +7 -7
- codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +3 -3
- codemie_test_harness/tests/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +4 -4
- codemie_test_harness/tests/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/report_portal/test_workflow_with_report_portal_tool.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +1 -1
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/METADATA +8 -8
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/RECORD +135 -133
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/entry_points.txt +0 -0
|
@@ -24,8 +24,8 @@ git_tool_answer = list_branches_set_active_branch_test_data[0][3]
|
|
|
24
24
|
@pytest.mark.integration
|
|
25
25
|
@pytest.mark.default_integration
|
|
26
26
|
@pytest.mark.not_for_parallel_run
|
|
27
|
-
@pytest.mark.
|
|
28
|
-
@pytest.mark.
|
|
27
|
+
@pytest.mark.api
|
|
28
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
29
29
|
@pytest.mark.parametrize(
|
|
30
30
|
"user_integration, is_global, project_integration",
|
|
31
31
|
integrations,
|
|
@@ -101,8 +101,8 @@ def test_assistant_in_workflow_should_use_user_integration_by_default(
|
|
|
101
101
|
@pytest.mark.integration
|
|
102
102
|
@pytest.mark.default_integration
|
|
103
103
|
@pytest.mark.not_for_parallel_run
|
|
104
|
-
@pytest.mark.
|
|
105
|
-
@pytest.mark.
|
|
104
|
+
@pytest.mark.api
|
|
105
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
106
106
|
def test_assistant_in_workflow_with_global_and_project_integration(
|
|
107
107
|
datasource_utils,
|
|
108
108
|
default_embedding_llm,
|
|
@@ -164,8 +164,8 @@ def test_assistant_in_workflow_with_global_and_project_integration(
|
|
|
164
164
|
@pytest.mark.integration
|
|
165
165
|
@pytest.mark.default_integration
|
|
166
166
|
@pytest.mark.not_for_parallel_run
|
|
167
|
-
@pytest.mark.
|
|
168
|
-
@pytest.mark.
|
|
167
|
+
@pytest.mark.api
|
|
168
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
169
169
|
def test_assistant_in_workflow_with_project_integration_only(
|
|
170
170
|
datasource_utils,
|
|
171
171
|
default_embedding_llm,
|
|
@@ -214,7 +214,7 @@ def test_assistant_in_workflow_with_project_integration_only(
|
|
|
214
214
|
@pytest.mark.integration
|
|
215
215
|
@pytest.mark.default_integration
|
|
216
216
|
@pytest.mark.not_for_parallel_run
|
|
217
|
-
@pytest.mark.
|
|
217
|
+
@pytest.mark.api
|
|
218
218
|
def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
219
219
|
integration_utils,
|
|
220
220
|
similarity_check,
|
|
@@ -276,7 +276,7 @@ def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
276
276
|
@pytest.mark.integration
|
|
277
277
|
@pytest.mark.default_integration
|
|
278
278
|
@pytest.mark.not_for_parallel_run
|
|
279
|
-
@pytest.mark.
|
|
279
|
+
@pytest.mark.api
|
|
280
280
|
def test_assistant_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
281
281
|
integration_utils,
|
|
282
282
|
similarity_check,
|
|
@@ -22,7 +22,7 @@ from codemie_test_harness.tests.utils.env_resolver import EnvironmentResolver
|
|
|
22
22
|
@pytest.mark.workflow
|
|
23
23
|
@pytest.mark.virtual_workflow
|
|
24
24
|
@pytest.mark.file_management
|
|
25
|
-
@pytest.mark.
|
|
25
|
+
@pytest.mark.api
|
|
26
26
|
@pytest.mark.testcase("EPMCDME-6561")
|
|
27
27
|
@pytest.mark.parametrize(
|
|
28
28
|
"tool_name, prompt, expected_response",
|
|
@@ -55,7 +55,7 @@ def test_workflow_with_file_management_tools(
|
|
|
55
55
|
@pytest.mark.workflow
|
|
56
56
|
@pytest.mark.virtual_workflow
|
|
57
57
|
@pytest.mark.file_management
|
|
58
|
-
@pytest.mark.
|
|
58
|
+
@pytest.mark.api
|
|
59
59
|
@pytest.mark.testcase("EPMCDME-6561")
|
|
60
60
|
@pytest.mark.skipif(
|
|
61
61
|
EnvironmentResolver.is_localhost(), reason="Skipping this test on local environment"
|
|
@@ -86,7 +86,7 @@ def test_workflow_with_generate_image_tool(
|
|
|
86
86
|
@pytest.mark.workflow
|
|
87
87
|
@pytest.mark.virtual_workflow
|
|
88
88
|
@pytest.mark.file_management
|
|
89
|
-
@pytest.mark.
|
|
89
|
+
@pytest.mark.api
|
|
90
90
|
@pytest.mark.testcase("EPMCDME-6561")
|
|
91
91
|
def test_workflow_with_read_file_tool(
|
|
92
92
|
workflow_with_virtual_assistant,
|
|
@@ -122,7 +122,7 @@ def test_workflow_with_read_file_tool(
|
|
|
122
122
|
@pytest.mark.virtual_workflow
|
|
123
123
|
@pytest.mark.file_management
|
|
124
124
|
@pytest.mark.skip(reason="Test are flaky, tools work unstable")
|
|
125
|
-
@pytest.mark.
|
|
125
|
+
@pytest.mark.api
|
|
126
126
|
@pytest.mark.testcase("EPMCDME-6561")
|
|
127
127
|
def test_workflow_with_file_editing_tool(
|
|
128
128
|
workflow_with_virtual_assistant,
|
|
@@ -174,7 +174,7 @@ def test_workflow_with_file_editing_tool(
|
|
|
174
174
|
@pytest.mark.virtual_workflow
|
|
175
175
|
@pytest.mark.file_management
|
|
176
176
|
@pytest.mark.skip(reason="Test are flaky, tools work unstable")
|
|
177
|
-
@pytest.mark.
|
|
177
|
+
@pytest.mark.api
|
|
178
178
|
@pytest.mark.testcase("EPMCDME-6561")
|
|
179
179
|
def test_workflow_with_filesystem_tool(
|
|
180
180
|
workflow_with_virtual_assistant,
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py
CHANGED
|
@@ -16,7 +16,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name, to_came
|
|
|
16
16
|
@pytest.mark.workflow
|
|
17
17
|
@pytest.mark.virtual_workflow
|
|
18
18
|
@pytest.mark.gitlab
|
|
19
|
-
@pytest.mark.
|
|
19
|
+
@pytest.mark.api
|
|
20
20
|
@pytest.mark.parametrize(
|
|
21
21
|
"toolkit,tool_name,prompt,expected_response",
|
|
22
22
|
list_branches_set_active_branch_test_data,
|
|
@@ -51,7 +51,7 @@ def test_workflow_with_list_branch_set_active_branch_tools(
|
|
|
51
51
|
@pytest.mark.workflow
|
|
52
52
|
@pytest.mark.virtual_workflow
|
|
53
53
|
@pytest.mark.gitlab
|
|
54
|
-
@pytest.mark.
|
|
54
|
+
@pytest.mark.api
|
|
55
55
|
@pytest.mark.parametrize(
|
|
56
56
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
57
57
|
create_branch_test_data,
|
|
@@ -101,7 +101,7 @@ def test_workflow_with_create_branch_tool(
|
|
|
101
101
|
@pytest.mark.workflow
|
|
102
102
|
@pytest.mark.virtual_workflow
|
|
103
103
|
@pytest.mark.gitlab
|
|
104
|
-
@pytest.mark.
|
|
104
|
+
@pytest.mark.api
|
|
105
105
|
@pytest.mark.parametrize(
|
|
106
106
|
"toolkit,tool_name,prompt_template,expected_template,expected_content_template",
|
|
107
107
|
create_file_test_data,
|
|
@@ -153,7 +153,7 @@ def test_workflow_with_create_file_tool(
|
|
|
153
153
|
@pytest.mark.workflow
|
|
154
154
|
@pytest.mark.virtual_workflow
|
|
155
155
|
@pytest.mark.gitlab
|
|
156
|
-
@pytest.mark.
|
|
156
|
+
@pytest.mark.api
|
|
157
157
|
@pytest.mark.parametrize(
|
|
158
158
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
159
159
|
create_merge_request_test_data,
|
|
@@ -201,7 +201,7 @@ def test_workflow_with_create_merge_request_tool(
|
|
|
201
201
|
@pytest.mark.workflow
|
|
202
202
|
@pytest.mark.virtual_workflow
|
|
203
203
|
@pytest.mark.gitlab
|
|
204
|
-
@pytest.mark.
|
|
204
|
+
@pytest.mark.api
|
|
205
205
|
@pytest.mark.parametrize(
|
|
206
206
|
"toolkit,tool_name,prompt_template,expected_template,file_content_template",
|
|
207
207
|
delete_file_test_data,
|
|
@@ -268,7 +268,7 @@ def test_workflow_with_delete_file_tool(
|
|
|
268
268
|
@pytest.mark.workflow
|
|
269
269
|
@pytest.mark.virtual_workflow
|
|
270
270
|
@pytest.mark.gitlab
|
|
271
|
-
@pytest.mark.
|
|
271
|
+
@pytest.mark.api
|
|
272
272
|
@pytest.mark.parametrize(
|
|
273
273
|
"toolkit,tool_name,create_mr_prompt_template,create_mr_expected_template,get_mr_changes_prompt_template,get_mr_changes_expected_template",
|
|
274
274
|
get_merge_request_changes_test_data,
|
|
@@ -337,7 +337,7 @@ def test_workflow_with_get_merge_request_changes_tool(
|
|
|
337
337
|
@pytest.mark.workflow
|
|
338
338
|
@pytest.mark.virtual_workflow
|
|
339
339
|
@pytest.mark.gitlab
|
|
340
|
-
@pytest.mark.
|
|
340
|
+
@pytest.mark.api
|
|
341
341
|
@pytest.mark.parametrize(
|
|
342
342
|
"toolkit,tool_name,create_prompt_template,create_expected_template,created_content_template,update_prompt_template,update_expected_template,updated_content_template",
|
|
343
343
|
update_file_test_data,
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py
CHANGED
|
@@ -23,7 +23,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
23
23
|
@pytest.mark.workflow
|
|
24
24
|
@pytest.mark.virtual_workflow
|
|
25
25
|
@pytest.mark.mcp
|
|
26
|
-
@pytest.mark.
|
|
26
|
+
@pytest.mark.api
|
|
27
27
|
@pytest.mark.testcase("EPMCDME-6419")
|
|
28
28
|
def test_workflow_with_time_mcp_server(
|
|
29
29
|
workflow_with_virtual_assistant,
|
|
@@ -49,7 +49,7 @@ def test_workflow_with_time_mcp_server(
|
|
|
49
49
|
@pytest.mark.workflow
|
|
50
50
|
@pytest.mark.virtual_workflow
|
|
51
51
|
@pytest.mark.mcp
|
|
52
|
-
@pytest.mark.
|
|
52
|
+
@pytest.mark.api
|
|
53
53
|
@pytest.mark.testcase("EPMCDME-6419")
|
|
54
54
|
@pytest.mark.parametrize(
|
|
55
55
|
"command, expected_answer",
|
|
@@ -81,7 +81,7 @@ def test_workflow_with_cli_mcp_server(
|
|
|
81
81
|
@pytest.mark.workflow
|
|
82
82
|
@pytest.mark.virtual_workflow
|
|
83
83
|
@pytest.mark.mcp
|
|
84
|
-
@pytest.mark.
|
|
84
|
+
@pytest.mark.api
|
|
85
85
|
@pytest.mark.testcase("EPMCDME-6419")
|
|
86
86
|
def test_workflow_with_fetch_mcp_server(
|
|
87
87
|
workflow_with_virtual_assistant,
|
|
@@ -19,8 +19,8 @@ from codemie_test_harness.tests.utils.env_resolver import get_environment
|
|
|
19
19
|
@pytest.mark.virtual_workflow
|
|
20
20
|
@pytest.mark.notification
|
|
21
21
|
@pytest.mark.email
|
|
22
|
-
@pytest.mark.
|
|
23
|
-
@pytest.mark.
|
|
22
|
+
@pytest.mark.api
|
|
23
|
+
@pytest.mark.testcase("EPMCDME-6652")
|
|
24
24
|
@pytest.mark.skipif(
|
|
25
25
|
get_environment() in [Environment.LOCALHOST, Environment.GCP],
|
|
26
26
|
reason="Skipping this test on local environment",
|
|
@@ -67,8 +67,8 @@ def test_workflow_with_notification_email_tool(
|
|
|
67
67
|
@pytest.mark.virtual_workflow
|
|
68
68
|
@pytest.mark.notification
|
|
69
69
|
@pytest.mark.telegram
|
|
70
|
-
@pytest.mark.
|
|
71
|
-
@pytest.mark.
|
|
70
|
+
@pytest.mark.api
|
|
71
|
+
@pytest.mark.testcase("EPMCDME-6652")
|
|
72
72
|
def test_workflow_with_notification_telegram_tool(
|
|
73
73
|
workflow_with_virtual_assistant,
|
|
74
74
|
similarity_check,
|
|
@@ -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.
|
|
14
|
-
@pytest.mark.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
16
|
-
@pytest.mark.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
-
- **
|
|
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
|
|
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
|
-
#
|
|
509
|
-
pytest -n 10 -m "
|
|
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 "
|
|
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).
|