implement_file_system_tests

Macro implement_file_system_tests 

Source
macro_rules! implement_file_system_tests {
    ($fs:expr) => { ... };
}
Expand description

Macro to implement all file system operation tests for a given file system instance.

This macro generates individual test functions for each test category, making it easy to integrate comprehensive file system testing into your test suite.

§Usage

use file_system::implement_file_system_tests;

mod tests {
    use super::*;
     
    implement_file_system_tests! {
        instance: MyFileSystem::new()
    }
}

This will generate individual #[test] functions for each test category.