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

ribir_dev_helper

Ribir is a framework for building modern native/wasm cross-platform user interface applications

25 releases

0.3.0-alpha.5 May 1, 2024
0.3.0-alpha.1 Mar 27, 2024
0.0.1-alpha.5 Jul 4, 2023

#1204 in GUI

Download history 7/week @ 2024-01-23 15/week @ 2024-01-30 1/week @ 2024-02-06 38/week @ 2024-02-13 95/week @ 2024-02-20 173/week @ 2024-02-27 326/week @ 2024-03-05 137/week @ 2024-03-12 186/week @ 2024-03-19 268/week @ 2024-03-26 146/week @ 2024-04-02 91/week @ 2024-04-09 90/week @ 2024-04-16 97/week @ 2024-04-30

279 downloads per month

MIT and AGPL-3.0

245KB
5.5K SLoC

Dev helper

This library provides macros to write tests for Ribir.

Dependencies

To use these macros add paste and ribir_dev_helper in [dev-dependencies] section of your Cargo.toml. For the detail see the macros documents.

Test case files

These macros may read files to test, all those files are read from the test_cases in the workspace root of your project.

Use RIBIR_IMG_TEST=overwrite environment variant to overwrite or generate the files. For example, you can use RIBIR_IMG_TEST=overwrite cargo test to overwrite all test case files. Or special test RIBIR_IMG_TEST=overwrite cargo test -- test_name.

Dependencies

~31–64MB
~1M SLoC