Skip to content

v0.3.0

Choose a tag to compare

@morodomi morodomi released this 18 Mar 05:54
· 169 commits to main since this release

What's New

observe: 4-language support

exspec observe now supports TypeScript, Python, Rust, and PHP for static test-to-code mapping.

exspec observe --lang typescript .
exspec observe --lang python .
exspec observe --lang rust .
exspec observe --lang php .

Dogfooding results (Precision ~100% across all languages)

Project Lang Prod Files Mapped Test Coverage
NestJS TypeScript 1279 466 (36%) 95%
FastAPI Python 620 122 (20%) 96%
Django Python 2266 381 (17%) 95%
tokio Rust 495 71 (14%) 37%
Laravel PHP 1945 968 (50%) 89%
Symfony PHP 7937 4117 (52%) 98%

Language-specific highlights

  • Python: Dotted import resolution (from myapp.models import User), __init__.py barrel support
  • Rust: use crate::/use cratename:: resolution, Cargo workspace aggregation (#98), pub mod barrel chain (#99), file_exports_any_symbol filtering (#100)
  • PHP: PSR-4 namespace resolution (use App\Models\User -> src/Models/User.php)
  • TypeScript: tsconfig path alias, monorepo symlink resolution, barrel/re-export with symbol filtering

Install

cargo install exspec

Full Changelog: v0.2.0...v0.3.0