pubky_test_utils

Crates.iopubky_test_utils
lib.rspubky_test_utils
version0.1.0
created_at2025-12-16 12:47:35.942131+00
updated_at2025-12-16 12:47:35.942131+00
descriptionTest utilities for Pubky Core testing
homepagehttps://github.com/pubky/pubky-core
repositoryhttps://github.com/pubky/pubky-core
max_upload_size
id1987665
size46,085
(SHAcollision)

documentation

README

pubky_test

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.
Commit count: 576

cargo fmt