You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: The effect of `#[arg_for_constructor]` is covered by Rule 4 in conjunction with the base behavior.
95
105
96
106
### Failure Diagnosis Algorithm
97
107
* (Standard algorithm as previously defined, focusing on relevant `tuple_*_handler.rs` if `_derive` fails and `_manual` passes).
98
108
***Widespread Failure Strategy:** If uncommenting a test group causes numerous failures, propose selectively commenting out (using `//`) only the failing `#[test]` functions or problematic `include!` lines. Avoid commenting out entire files or modules unless absolutely necessary. Re-enable tests incrementally (one or small groups at a time) to isolate the root cause, following Rule 9.d.i of the Proc Macro Development Workflow.
***Goal:** Add the Tuple Variant Test Matrix documentation to `former_enum_tests/mod.rs`, preserving existing matrices. Keep all tuple test modules commented out for now.
104
114
***Target Crate(s):**`former`
105
115
***Detailed Plan Step 1:** Modify `module/core/former/tests/inc/former_enum_tests/mod.rs`:
@@ -186,11 +196,13 @@ This plan focuses on verifying the behavior for **Tuple Variants**. The relevant
186
196
***Incremental Verification:** Verify compilation and test success after each relevant increment. Handle widespread failures by selectively commenting out only failing tests.
187
197
***Failure Analysis:** Follow the "Failure Diagnosis Algorithm".
188
198
***Approval Gates:** Obtain user approval before starting each increment and after successful verification.
199
+
***No Clippy:** Avoid using `cargo clippy`.
189
200
190
201
## Notes & Insights
191
202
* This plan focuses on tuple enum variants, activating tests incrementally.
192
203
* It assumes the necessary infrastructure (`former_enum_tests/mod.rs`) exists.
193
204
* Verification steps target only the relevant tuple tests until the final step.
194
205
* The full "Expected Enum Former Behavior Rules" are kept for context.
195
206
* Test Matrix coverage for tuple variants is explicitly noted and will be added to `mod.rs`.
0 commit comments