xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Examples / README.md
| 1 | # Examples |
| 2 | |
| 3 | These primarily exist as fixtures for integration tests, but also double as snippets of sample code. |
| 4 | |
| 5 | Each demo is designed to make some assertions shortly after launching, and then exit. On success, stdout will include the message "xtool test succeeded". |
| 6 | |
| 7 | ## Testing |
| 8 | |
| 9 | ``` |
| 10 | ./Examples/test.sh [--build | --run] [DemoName] |
| 11 | ``` |
| 12 | |
| 13 | - Omit `--build`/`--run` to build _and_ run |
| 14 | - Omit the demo name to loop through all demos |