Allow aml_tester to report test outcome using DefFatal
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 245
- Forks
- 93
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 15
Description
DefFatal can be used by ASL to report a fatal error to OSPM. We can use this to test features of ASL within asl_tester.
- Don't panic, but mark test as failing, if
DefFatalis encountered - Allow annotation from test to signal that a
DefFatalis expected, so we can test it - Add a test for
DefFatalto make sure it's parsed and handled correctly
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the asl_tester code path that handles DefFatal and the existing test annotation mechanism. Trace how fatal errors currently reach OSPM and how tests are reported; done means DefFatal marks tests as failing without a panic, expected DefFatal annotations are supported, and a test verifies parsing and handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100