-
Notifications
You must be signed in to change notification settings - Fork 532
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Recent refactors in Opportunity validation introduced custom exceptions
to separate business logic from trigger/UI handling.
However, current test coverage is limited and does not fully assert
negative scenarios or exception behavior.
Suggested Solution
Add unit tests for Opportunity validation to cover:
- Invalid stage + probability combinations
- Missing required fields
- Proper custom exception handling
Ensure that all existing tests continue to pass and no production
logic is modified.
Alternative Solutions
None considered. The best approach is to add targeted test cases
without modifying existing validation logic.
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request