[DSLX] Feature: Add `#[test_fail]` and `#[test_proc_fail]`
Open
dslx
enhancement
testing
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
Right now `#[test_proc]` and `#[test]` always has to succeed.
Adding new language testing feature will allow for negative testing.
I think it would only require adding `#[test_fail]` and `#[test_proc_fail]` to the language parser.
Test procs or fn should keep their current type format, and the bulk of the changes would be
applied to the DSLX interpreter.
Contributor guide
Assessment
This issue has not been assessed yet.