Testing
- Unit tests:
aura_tests(tests/) links only againstaura::*.tests/test_aura.cppcovers the parser, diagnostics, and generator.tests/test_aura_ui.cppbuilds the files intests/ui/both compiled and through the loader, then checks the same behavior: records, in-place rebuilding ofrepeatandif, updated IDs, signals, layouts, animations, text input, and reusable elements.
- Gallery (AURA pixel tests):
tests/gallery/*.aurashows the built-in elements in their various states as previews;tests/gallery.shrenders them with the supplied font (tests/fonts, DejaVu Sans) and compares them againsttests/gallery-refs/default/.ctestruns this too (aura_gallery). After an intentional change, runtests/gallery.sh --update, then inspect the images ingit diff. Add a preview here for every new element.
The demo is also tested in compiled and dynamic modes. For visual comparisons, aura-view --render-previews and aura-demo --render-all can produce PNGs without a window.
Documentation source:
docs/aura.md · Download Markdown