Skip to content

diff2test v0.1.0

Choose a tag to compare

@ThunderKhan ThunderKhan released this 29 Aug 06:08
· 18 commits to main since this release

diff2test v0.1.0

Initial public release of diff2test, a zero-runtime-dependency C++20 CLI for conservative test impact analysis on supported CMake/CTest projects.

Highlights

  • Single-file runtime implementation: diff2test.cpp
  • Zero third-party runtime dependencies
  • Conservative affected-test selection
  • Strict in-process JSON parsing
  • GCC/Clang Make-style .d dependency parsing
  • CMake File API codemodel v2 support
  • CTest json-v1 catalogue support
  • Exact executable-artifact mapping
  • Explainable selection paths
  • Safe fallback on incomplete, stale, ambiguous, or unsupported evidence
  • Deterministic output
  • Public CI integration tests
  • ASan + UBSan verification
  • Same-runner reproducible Release build

Verified scenarios

  • include/alpha.hppAlphaTest
  • shared feature header → AlphaTest + BetaTest
  • missing dependency evidence → full known suite
  • missing CTest catalogue → FULL_SUITE_REQUIRED

Hackathon bonus evidence

  • Single File
  • Reproducible Build
  • STDLIB Log
  • Package Killer comparison

See:

  • README.md
  • STDLIB.md
  • DEPENDENCY-PROOF.md
  • PACKAGE-KILLER.md
  • FINAL-AUDIT.md

Supported release boundary

This release targets the verified Linux MVP using GCC/Clang Make-style dependency files, CMake File API codemodel v2, CTest JSON v1, and direct executable-to-test mapping.

Unsupported or ambiguous evidence widens safely instead of being guessed through.