Add rake testing shared context and initial tests
🔍 What does this MR do and why?
This adds support for testing rake tasks by using a shared context. See the doc update included in the changes for how to use it. The approach of using a shared context is based on this blog post.
I've included a few initial tests that are trivial to show the tests working successfully. Additional testing will be added in separate MRs.
Related to gitlab-com/gl-infra/delivery#19456
☑ Author Check-list
-
Has documentation been updated?
Edited by Steve Abrams