Software Engineering
New Framework Bridges Gap Between High-Level Requirements and Low-Level Software Tests
VNVSpec automates the traceability between user requirements and test execution, addressing a critical compliance need for AI and safety-critical systems.
The worlds of software development and systems engineering operate with fundamentally different tools and practices. Development teams rely on mature test frameworks like pytest and JUnit, while systems engineers follow formal verification and validation (V&V) methodologies. Yet these two traditions rarely communicate—the connection between what users actually need and what code actually tests remains largely manual and fragile.
This disconnect is increasingly risky. As AI systems and cyber-physical devices enter regulated industries, compliance demands documented proof that high-level business or safety requirements are genuinely satisfied by the software running in production. When a failure occurs, regulators and auditors expect to trace the chain of evidence from requirement down through design, testing, and deployment.
The Problem at the Heart of Compliance#
Maintaining this traceability manually is labor-intensive and error-prone. Teams typically maintain separate artifacts—requirement documents, test plans, test code—with little programmatic enforcement that they remain consistent. A requirement might be reworded, tests renamed, or the mapping between them lost entirely. For systems subject to standards like DO-178C (aerospace) or IEC 62304 (medical devices), this gap becomes a regulatory liability.
Introducing VNVSpec#
Researchers have now introduced VNVSpec, an open-source framework designed to treat V&V specifications as typed, machine-readable data. Rather than keeping requirements locked in spreadsheets or prose documents, the framework represents them in a formal structure that can be automatically validated, linked to test results, and audited.
The framework supports:
- Direct specification or import from established catalogs, allowing teams to leverage requirements derived from published standards and framework documentation
- Automated validation of requirement wording and structure
- Traceability graphs that link decomposed requirements to test execution results
- Evidence compilation into verdicts and role-specific reports for different audiences
Performance at Scale#
The team benchmarked VNVSpec against increasingly large synthetic specifications. When processing catalogs with up to 10,000 requirements, all core operations completed in under 0.4 seconds—with the exception of YAML serialization and loading. This performance suggests the framework could scale to real-world enterprise and safety-critical deployments.