| Crates.io | pubky_test_utils |
| lib.rs | pubky_test_utils |
| version | 0.1.0 |
| created_at | 2025-12-16 12:47:35.942131+00 |
| updated_at | 2025-12-16 12:47:35.942131+00 |
| description | Test utilities for Pubky Core testing |
| homepage | https://github.com/pubky/pubky-core |
| repository | https://github.com/pubky/pubky-core |
| max_upload_size | |
| id | 1987665 |
| size | 46,085 |
Main library for the test macro.
Merges the drop_db_helper and test_macro into one crate.
Procedural macros in rust must be in their own crate. It can't provide additional methods. That's why 3 crates are needed.
drop_db_helper provides the base methods to drop test databases.test_macro uses drop_db_helper to drop the test databases after the test completes.pubky_test provides one convenient crate for both.