-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Context
Parent: #160
The import parsers, resolvers, and flag parsers accept complex string inputs where edge cases are hard to enumerate manually. Property-based testing (proptest) can systematically explore the input space.
Expected Behavior
Proptest strategies that generate random but structured inputs and verify invariants hold.
Scope
parse_flags: arbitrary flag sequences never panic, always return Ok or ErrCommand::parse: arbitrary strings never panicclassify_diff_arg: arbitrary strings never panic (may return error)- Import parsers (TS + Python): arbitrary source code never panics (may return empty imports)
- Resolvers: resolved paths are always canonical and within project root
format_size: output is always parseable back to a number, monotonically increasing with inputModuleGraph: adding edges between valid NodeIds never panics
Reactions are currently unavailable