#declarative-ui #ui-framework #cross-platform-gui #declarative #ui #compose-ui

ribir_dev_helper

A non-intrusive declarative GUI framework, to build modern native/wasm cross-platform applications

46 releases

new 0.4.0-alpha.18 Dec 11, 2024
0.4.0-alpha.15 Nov 13, 2024
0.4.0-alpha.3 Jun 26, 2024
0.3.0-alpha.1 Mar 27, 2024
0.0.1-alpha.5 Jul 4, 2023

#1404 in GUI

Download history 135/week @ 2024-08-23 96/week @ 2024-08-30 97/week @ 2024-09-06 196/week @ 2024-09-13 157/week @ 2024-09-20 192/week @ 2024-09-27 149/week @ 2024-10-04 31/week @ 2024-10-11 1/week @ 2024-10-18 202/week @ 2024-10-25 16/week @ 2024-11-01 94/week @ 2024-11-08 23/week @ 2024-11-15 4/week @ 2024-11-22 229/week @ 2024-11-29 139/week @ 2024-12-06

408 downloads per month

MIT and AGPL-3.0

365KB
9K SLoC

Development Helper

This library offers macros to facilitate testing for Ribir.

Dependencies

To utilize these macros, include paste and ribir_dev_helper in the [dev-dependencies] section of your Cargo.toml. For more details, refer to the macro documentation.

Test Case Files

These macros may require reading files for testing. All such files are sourced from the test_cases directory located at the root of your workspace.

Use the RIBIR_IMG_TEST=overwrite environment variable to overwrite or generate the files. For instance, RIBIR_IMG_TEST=overwrite cargo test can be used to overwrite all test case files. For a specific test, use RIBIR_IMG_TEST=overwrite cargo test -- test_name.

For image tests, if the actual image differs from the expected one, both the actual image and the difference image are saved alongside the expected image. The difference image represents the discrepancies between the actual and expected images.

Dependencies

~32–63MB
~1M SLoC