#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

26 releases

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

#1209 in GUI

Download history 1/week @ 2024-02-04 35/week @ 2024-02-11 91/week @ 2024-02-18 159/week @ 2024-02-25 330/week @ 2024-03-03 149/week @ 2024-03-10 189/week @ 2024-03-17 254/week @ 2024-03-24 155/week @ 2024-03-31 94/week @ 2024-04-07 92/week @ 2024-04-14 2/week @ 2024-04-21 93/week @ 2024-04-28 4/week @ 2024-05-05 3/week @ 2024-05-19

100 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–63MB
~1M SLoC