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
279 downloads per month
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