Skip to content

Commit 477dfa2

Browse files
authored
Merge pull request #2049 from codeflash-ai/ci/cleanup-test-markers
Clean up Java test skip markers
2 parents e73492f + 4184132 commit 477dfa2

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# These version placeholders will be replaced by uv-dynamic-versioning during build.
2-
__version__ = "0.20.5.post169.dev0+2dba3e38"
2+
__version__ = "0.20.5.post177.dev0+da536db8"

codeflash/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# These version placeholders will be replaced by uv-dynamic-versioning during build.
2-
__version__ = "0.20.5.post169.dev0+2dba3e38"
2+
__version__ = "0.20.5.post177.dev0+da536db8"

tests/test_languages/test_java/test_comparator.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for Java test result comparison."""
22

3-
import shutil
43
import sqlite3
54
from pathlib import Path
65

@@ -15,7 +14,7 @@
1514
from codeflash.models.models import TestDiffScope
1615

1716
# Skip tests that require the codeflash-runtime JAR (built by Maven from codeflash-java-runtime/)
18-
requires_java = pytest.mark.skipif(
17+
requires_java_runtime = pytest.mark.skipif(
1918
_find_comparator_jar() is None,
2019
reason="codeflash-runtime JAR not found - skipping Comparator integration tests",
2120
)
@@ -451,7 +450,7 @@ def test_deeply_nested_objects(self):
451450
assert equivalent is True
452451

453452

454-
@requires_java
453+
@requires_java_runtime
455454
class TestTestResultsTableSchema:
456455
"""Tests for Java Comparator reading from test_results table schema.
457456
@@ -926,7 +925,7 @@ def test_compare_different_error_types(self):
926925
assert diffs[0].scope == TestDiffScope.DID_PASS
927926

928927

929-
@requires_java
928+
@requires_java_runtime
930929
class TestComparatorJavaEdgeCases(TestTestResultsTableSchema):
931930
"""Tests for Java Comparator edge cases that require Java runtime.
932931

tests/test_languages/test_java/test_run_and_parse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ def test_behavior_multiple_test_methods(self, java_project):
377377
assert "testAddPositive" in test_names
378378
assert "testAddZero" in test_names
379379

380-
@requires_java_runtime
381380
def test_behavior_return_value_correctness(self, tmp_path):
382381
"""Verify the Comparator JAR correctly identifies equivalent vs. differing results.
383382

0 commit comments

Comments
 (0)