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
//! Smoke tests for the `derive_tools` crate.
//!
//! Validates basic crate health by ensuring the crate compiles and links correctly
//! in both local development and published package contexts. These tests do not
//! verify specific derive macro behavior - comprehensive derive tests exist in tests/inc/.
//!
//! ## Test Organization
//!
//! - `local_smoke_test`: Verifies crate compiles in local workspace context
//! - `published_smoke_test`: Verifies crate compiles as published dependency
//!
//! ## Coverage Status
//!
//! Current: Smoke tests + comprehensive derive macro tests in tests/inc/
//! Derives tested: `From`, `Deref`, `DerefMut`, `AsRef`, `AsMut`, `Index`, `IndexMut`, `Phantom`, `Default`
/// Verifies crate compiles and links correctly in local workspace context.
///
/// This test ensures the crate builds successfully when used as a path dependency
/// within the wTools workspace. It validates that all feature flags, dependencies,
/// and basic functionality work in local development mode.
///
/// Uses `test_tools::smoke_test_for_local_run()` which performs basic compilation
/// and linking checks without exercising specific derive macro functionality.
/// Verifies crate compiles and links correctly as published crates.io package.
///
/// This test ensures the crate builds successfully when used as a published
/// dependency from crates.io. It validates that workspace dependencies resolve
/// correctly and the crate is usable by external consumers.
///
/// Uses `test_tools::smoke_test_for_published_run()` which simulates the published
/// package context to catch packaging or dependency resolution issues.