Automatic Tested Code Examples
Within this document all code examples are automatically tested.
Test result banners
Each code example has a banner nearby which indicates the current testing status of the code. If you click one of these banners you will jump directly into a specific test report.
The following banners indicate that the code is tested ok:
| Banner | Meaning |
|---|---|
| Ok | |
| Ok (with warnings) | |
| Fails intentionally |
The following banners occur if a test is still marked as todo but is ok already. This can be corrected by changing the documentation.
| Banner | Meaning |
|---|---|
| Marked as todo but is ok | |
| Marked as todo but fails intentionally |
If you see one of the following banners, we did something wrong. Either the example may be wrong or the µcad interpreter might have a bug.
| Banner | Meaning |
|---|---|
| Fails with errors | |
| Fails with wrong errors or warnings | |
| Is ok but was meant to fail | |
| Fails early while parsing |
The following banners occur if tests are marked as todo and so are not running successful.
| Banner | Meaning |
|---|---|
| Work in progress | |
| Work in progress (should fail) |
Test list
See this section for a list of tests within this document.