Skip to content

test: added test_atomic_io, test_id_map_json, test_domain_types, test…#54

Merged
Intrinsical-AI merged 1 commit intodevelopfrom
harden/test-suite-hardening
Mar 15, 2026
Merged

test: added test_atomic_io, test_id_map_json, test_domain_types, test…#54
Intrinsical-AI merged 1 commit intodevelopfrom
harden/test-suite-hardening

Conversation

@Intrinsical-AI
Copy link
Owner

Test Suite Hardening - Expansion and Refinement

New Test Modules

test_atomic_io.py

  • Implementation of roundtrip validation for persistence.
  • Edge case handling: empty strings and empty byte sequences.
  • Structural validation: automatic creation of parent directories and file overwrite logic.

test_id_map_json.py

  • Serialization compatibility: support for Pickle (v2, v4) and JSON.
  • Content types: plain text and boundary byte testing.
  • State handling: validation of empty mapping structures.

test_domain_types.py

  • Prefix logic: default vs. custom prefix resolution.
  • Dynamic behavior: runtime type checking and UUID v7 suffix generation.
  • Integrity: enforcement of uniqueness constraints.

test_ingestion.py

  • default_preprocess: 5 test cases covering transformation variants.
  • stable_lineage_metadata: 5 test cases ensuring metadata consistency.

test_frontend_path.py

  • Path resolution: returns None when frontend is missing.
  • Path resolution: returns absolute path when frontend exists.

Updated Test Modules

test_evaluation.py

  • format_eval_result: Added 3 test cases for result formatting logic.

test_utils.py

  • Text processing robustness: Unicode spaces and only-unicode-whitespace strings.
  • String handling: Newline variants and long string performance/limit tests.

…_ingestion, test_frontend_path. Edited test_evaluation, test_utils. Edge cases, malicious pickle, prefixes, formats
@Intrinsical-AI Intrinsical-AI merged commit fdaae6b into develop Mar 15, 2026
10 checks passed
@Intrinsical-AI Intrinsical-AI deleted the harden/test-suite-hardening branch March 15, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant