spatecon / gitlab-review-bot

Observes and modifies Merge Requests by Review&Approve Policy. Daily Slack notifications included.
MIT License
49 stars 4 forks source link

Add policies tests #14

Open spatecon opened 1 year ago

spatecon commented 1 year ago

Create unified tests for all policies. Also develop test cases:

Reinventing Democracy TeamLead Always Right
ProcessChanges 1. skip
2. first set
3. already set
4. partial approve
5. fully approved
1. skip
2. first set
3. already set
4. partial approve
5. fully approved
ApprovedByPolicy 1. skip
2. partial approve
3. fully approved
1. skip
2. partial approve
3. fully approved
ApprovedByUser basic test basic test