mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
Merge pull request #2049 from codeflash-ai/ci/cleanup-test-markers
Clean up Java test skip markers
This commit is contained in:
commit
477dfa246e
4 changed files with 5 additions and 7 deletions
|
|
@ -1,2 +1,2 @@
|
|||
# These version placeholders will be replaced by uv-dynamic-versioning during build.
|
||||
__version__ = "0.20.5.post169.dev0+2dba3e38"
|
||||
__version__ = "0.20.5.post177.dev0+da536db8"
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
# These version placeholders will be replaced by uv-dynamic-versioning during build.
|
||||
__version__ = "0.20.5.post169.dev0+2dba3e38"
|
||||
__version__ = "0.20.5.post177.dev0+da536db8"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
"""Tests for Java test result comparison."""
|
||||
|
||||
import shutil
|
||||
import sqlite3
|
||||
from pathlib import Path
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ from codeflash.languages.java.comparator import (
|
|||
from codeflash.models.models import TestDiffScope
|
||||
|
||||
# Skip tests that require the codeflash-runtime JAR (built by Maven from codeflash-java-runtime/)
|
||||
requires_java = pytest.mark.skipif(
|
||||
requires_java_runtime = pytest.mark.skipif(
|
||||
_find_comparator_jar() is None,
|
||||
reason="codeflash-runtime JAR not found - skipping Comparator integration tests",
|
||||
)
|
||||
|
|
@ -451,7 +450,7 @@ class TestEdgeCases:
|
|||
assert equivalent is True
|
||||
|
||||
|
||||
@requires_java
|
||||
@requires_java_runtime
|
||||
class TestTestResultsTableSchema:
|
||||
"""Tests for Java Comparator reading from test_results table schema.
|
||||
|
||||
|
|
@ -926,7 +925,7 @@ class TestComparatorErrorHandling:
|
|||
assert diffs[0].scope == TestDiffScope.DID_PASS
|
||||
|
||||
|
||||
@requires_java
|
||||
@requires_java_runtime
|
||||
class TestComparatorJavaEdgeCases(TestTestResultsTableSchema):
|
||||
"""Tests for Java Comparator edge cases that require Java runtime.
|
||||
|
||||
|
|
|
|||
|
|
@ -377,7 +377,6 @@ public class AdderMultiTest {
|
|||
assert "testAddPositive" in test_names
|
||||
assert "testAddZero" in test_names
|
||||
|
||||
@requires_java_runtime
|
||||
def test_behavior_return_value_correctness(self, tmp_path):
|
||||
"""Verify the Comparator JAR correctly identifies equivalent vs. differing results.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue