| Category | Count | Details |
|---|---|---|
| Source modules | 14 | Rust: main, lib, manifest/mod, codegen/mod, abi/mod, plugins (mod, sql, wasm) + 3 Idris2 ABI + 3 Zig FFI |
| Unit tests (inline) | 9 | All in plugins/wasm.rs |
| Integration tests | 1 file | integration_test.rs (~76 #[test]) |
| E2E tests | 0 | None |
| Benchmarks | 0 | None |
- No test that generates code from a schema and validates the output compiles
- No test for SQL plugin output against a real database
- No test for WASM plugin output in a WASM runtime
- Security: Code generator with no injection/escape tests -- generated SQL could be vulnerable
- Performance: No benchmarks for codegen throughput with large schemas
- Concurrency: N/A
- Error handling: No tests for malformed schemas, circular references, unsupported types
- No Idris2 ABI compilation test
- Zig integration_test.zig likely template placeholder
- Codegen throughput (schemas with 10/100/1000 types)
- Generated code compilation time
- Plugin loading overhead
- No self-diagnostic mode
- 76 integration tests is decent but SQL plugin has 0 dedicated tests
- Code generator with 0 output validation tests -- generates code that may not compile
- manifest module has 0 tests -- schema parsing untested
- codegen module has 0 tests -- core functionality untested (only wasm plugin tested)
tests/fuzz/placeholder.txtis a scorecard placeholder inherited from rsr-template-repo — it does NOT provide real fuzz testing- Replace with an actual fuzz harness (see rsr-template-repo/tests/fuzz/README.adoc) or remove the file
- Priority: P2 — creates false impression of fuzz coverage