Consistent naming of mocks - #457
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
5b2b15c to
fe48651
Compare
fe48651 to
d0162a9
Compare
feat: Switch to a prefix
d0162a9 to
4137dbd
Compare
|
I like the prefix convention. 👍 However for the integration tests, I would prefer using completely different names here. What do you think? It is not needed to be done in this PR. I can also add a github issue for that and for conformity just leave it as proposed by you. :-) Renaming to ControlClientStub or ControlClientFake would involve more than just a file rename anyways. |
Ah ok, I haven't looked too deep into these files, so I hadn't spotted that. I agree that these mocks, stubs (or whatever they may be) should be named more appropriately. I'll do this in a follow-up PR to prevent this one from getting any bigger. |
c64b05e to
2bb384f
Compare
TimoSteuerwaldETAS
left a comment
There was a problem hiding this comment.
Created successor story for renaming the MockControlClients to Stubs: #458
Beside that, everything is fine.
#422
This PR tidies up the naming of our mocks. I have gone with the
mock_prefix convention, as it:mock_componentfiles andMockComponentclasses.(Feel free to suggest an alternative naming convention. This is just what made sense to me)
This is a breaking change because mocks under
score/launch_manager/src/lifecycle_client/src/are exposed to users.