refactor: Split SubcSubcontractingTest into 3 focused codeunits#8225
Draft
ChethanT wants to merge 1 commit into
Draft
refactor: Split SubcSubcontractingTest into 3 focused codeunits#8225ChethanT wants to merge 1 commit into
ChethanT wants to merge 1 commit into
Conversation
Split the monolithic test codeunit (139989, 42 tests, 3562 lines) into three focused codeunits: - Subc. Transfer Order Test (139990): 13 tests covering transfer order creation, location handling, returns, reservations, bin codes - Subc. Purchase Order Test (139991): 12 tests covering PO creation from routing, posting groups, calculate subcontracts, descriptions - Subc. Subcontracting Test (139989): 18 remaining misc tests (setup, factbox, planning, item charge, copy document, dispatching) Each new codeunit is self-contained with required handlers and helpers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Splits the monolithic test codeunit \Subc. Subcontracting Test\ (139989, 42 tests, 3562 lines) into three focused codeunits for better maintainability:
New Codeunits
Motivation
The original codeunit was growing unbounded due to its generic name. This split groups tests by feature area while avoiding over-fragmentation.
Each new codeunit is self-contained with required handlers and helper procedures.