Description
By convention, AOT/Trim test methods should return 100 to indicate success. Other values are reserved for failure conditions.Bad Code
Good Code
Properties
- Category: Usage
- Severity: Warning
- Enabled by default: True
- Code fix available: False
Configuration
Exit Code Convention
| Code | Meaning |
|---|---|
| 100 | Success |
| 1-99 | Test failure (specific error codes) |
| 101+ | Test infrastructure error |
