Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tests/analysis/java/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@
from utils.output import normalize_output
from utils.report import assert_story_points_from_report_file, get_dict_from_output_yaml_file

# Covered by koncur tests/book-server-source and tests/book-server-deps.
_KONCUR_DUPLICATED_CASES = frozenset({"book-server_source", "book-server_deps"})


@pytest.mark.parametrize("application_data", ci_data(),
ids=lambda case: f"{case['name']}")
def test_bvp_issue_analyzer_901(application_data):
if application_data["name"] in _KONCUR_DUPLICATED_CASES:
pytest.skip(
"Covered by koncur tests/book-server-source and tests/book-server-deps"
)

reference_data_path = os.path.join(
utils.common.get_project_path(),
"data", "ci", "shared_tests", application_data['referencesDir']
Expand Down
3 changes: 3 additions & 0 deletions tests/analysis/java/test_selective_java_provider.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import os

import pytest

from utils import constants
from utils.command import build_analysis_command, run_command_stream_output
from utils.common import verify_triggered_yaml_rules
from utils.report import assert_story_points_from_report_file, get_dict_from_output_yaml_file

# Polarion TC MTA-536, 543
@pytest.mark.skip(reason="Covered by koncur tests/tackle-testapp-with-custom-rules")
def test_java_provider_analysis(analysis_data):

application_data = analysis_data['tackle-testapp-project']
Expand Down
9 changes: 9 additions & 0 deletions tests/analysis/java/test_tier0.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,17 @@
from utils.report import assert_non_empty_report
from utils.output import assert_analysis_output_violations, assert_analysis_output_dependencies

# Covered by koncur tests/tackle-testapp-package-filter.
_KONCUR_DUPLICATED_TIER0 = frozenset({"tackle-testapp-public-cloud-readiness"})


@pytest.mark.parametrize('tc_name', json.load(open(os.path.join("data", "java_analysis.json"))))
def test_analysis(tc_name, java_analysis_data):
if tc_name in _KONCUR_DUPLICATED_TIER0:
pytest.skip(
"Covered by koncur tests/tackle-testapp-package-filter"
)

project_path = os.getenv(constants.PROJECT_PATH)
output_root_path = os.getenv(constants.REPORT_OUTPUT_PATH, "./output")
tc = java_analysis_data[tc_name]
Expand Down
3 changes: 3 additions & 0 deletions tests/analysis/python/test_python_analysis.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import os

import pytest

from utils import constants
from utils.command import build_analysis_command, run_command_stream_output
from utils.common import verify_triggered_yaml_rules
from utils.report import get_dict_from_output_yaml_file


@pytest.mark.skip(reason="Covered by koncur tests/python-sample")
def test_python_analysis_with_rules(python_analysis_data):
application_data = python_analysis_data["python_app_project"]

Expand Down
Loading