| Crates.io | proc-macro-api-tests |
| lib.rs | proc-macro-api-tests |
| version | 0.2.1 |
| created_at | 2025-04-22 10:16:21.271737+00 |
| updated_at | 2025-05-09 04:44:49.648196+00 |
| description | Tests for `proc-macro-api`. |
| homepage | |
| repository | https://github.com/BoxCatGarden/proc_macro_api |
| max_upload_size | |
| id | 1643810 |
| size | 36,484 |
Tests for proc-macro-api.
Use cargo test to run the tests.
test_* features are test-option features. Test-option features are used
for enabling optional tests. In order to enable an optional test, enable
the corresponding test-option features.
test_normal is provided for exhaustiveness, and the tests in it are
not optional.test_comp_err_* will cause a compiling error. It is used for testing the
error detecting and the error messages, manually.test_err_* will be compiled successfully, but specific doc-tests in it will
always fail to be compiled. It is used for testing the error detecting
and the error messages, manually.See Cargo.toml for the list of the test-option features.
Compatible test-option features can be enabled together. Incompatible test-option features will cause a compiling error.
A test_comp_err_* feature should not be enabled together with other
test-option features.
cargo test --package proc-macro-api-tests --features test_normal
The public APIs of the library crate are the test-option features.
The pub items from the library crate should be treated as a private part of
the crate.
The non-test-option features should be treated as a private part of
the crate.