-
-
Notifications
You must be signed in to change notification settings - Fork 528
DRY Test Code #6874
Copy link
Copy link
Open
3 / 43 of 4 issues completedLabels
Help WantedLooking for contributorsLooking for contributorsno-pr-activityPR auto-marked stale by botPR auto-marked stale by bot🗺️ EpicMulti-issue tracking ticketMulti-issue tracking ticket
Metadata
Metadata
Assignees
Labels
Help WantedLooking for contributorsLooking for contributorsno-pr-activityPR auto-marked stale by botPR auto-marked stale by bot🗺️ EpicMulti-issue tracking ticketMulti-issue tracking ticket
Type
Projects
Status
Todo
Description
There's a lot of duplicate code within the test files. For each file, find the duplicate code and group it under a shared example or a private function.
A lot of the code follows the pattern: admin can do action, supervisor can usually do the same action, volunteer might be able to do the action as well. Since the code describing the action isn't DRY, the admin and supervisor tests might become divergent if the code in their blocks aren't duplicated.
How to access the QA site
Login Details:
Link to QA site
Login Emails:
/all_casa_admins/sign_inpassword for all users: 12345678
Questions? Join Slack!
We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.