@@ -155,12 +155,35 @@ The action should log calculation details in this format:
155155- If calculations seem incorrect, check the action logs for the exact values used
156156- If default values aren't applied correctly, verify the fallback logic in the script
157157
158+ ## Additional Test Cases (13-15)
159+
160+ ### Test Case 13: Multiple Labels of Same Category (Overwrite Behavior)
161+
162+ 1 . Create an issue with labels: ` reach:low ` , ` reach:medium ` , ` reach:high ` , ` impact:medium ` , ` effort:low `
163+ 2 . Run the GitHub action
164+ 3 . ** Expected Priority Score** : (100 × 137.5) / 2 = ** 6,875** (should use ` reach:high ` as the last processed)
165+ 4 . Verify the action correctly handles multiple conflicting labels
166+
167+ ### Test Case 14: Edge Case - Lowest Possible Score
168+
169+ 1 . Create an issue with labels: ` reach:low ` , ` impact:low ` , ` effort:high `
170+ 2 . Run the GitHub action
171+ 3 . ** Expected Priority Score** : (50 × 75) / 10 = ** 375**
172+ 4 . Verify this represents the minimum priority calculation
173+
174+ ### Test Case 15: Edge Case - Highest Possible Score
175+
176+ 1 . Create an issue with labels: ` reach:high ` , ` impact:high ` , ` effort:low `
177+ 2 . Run the GitHub action
178+ 3 . ** Expected Priority Score** : (100 × 200) / 2 = ** 10,000**
179+ 4 . Verify this represents the maximum priority calculation
180+
158181## Boundary Testing
159182
160183Additional edge cases to consider:
161184
162- - Very old issues (does age factor still apply?)
163185- Issues with special characters in labels
164186- Issues not added to the project board
165187- Network failures during GraphQL API calls
166- - Issues with multiple reach/impact/effort labels
188+ - Issues with multiple reach/impact/effort labels (should use last processed value)
189+ - Rounding behavior for non-integer results
0 commit comments