1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # Test Utilities
//!
//! Shared testing utilities and macros for the OpenFIGI Rust SDK.
//!
//! This module provides common functionality used across test modules to reduce
//! code duplication and ensure consistent testing patterns throughout the codebase.
//!
//! ## Features
//!
//! - **Test Data Loading**: Functions to load test data files from the `tests/data/` directory
//! - **Enum Serialization Testing**: Macros to test serde serialization/deserialization of enum variants
//! - **Validation Testing**: Macros for testing request validation logic (future enhancement)
//!
//! ## Design Principles
//!
//! - **DRY (Don't Repeat Yourself)**: Eliminate repetitive test code through reusable utilities
//! - **Consistency**: Ensure all tests follow the same patterns and conventions
//! - **Maintainability**: Centralize common testing logic for easier updates
//! - **Type Safety**: Provide compile-time guarantees for test correctness
use fs;
/// Utility functions to load test data from files
/// Utility macro to test serialization and deserialization of enum variants