-
Notifications
You must be signed in to change notification settings - Fork 204
Labels
TestingchoreTasks that just need to be done, they are neither bug, nor enhancementsTasks that just need to be done, they are neither bug, nor enhancementsgood first issueGood for newcomersGood for newcomers
Description
Mockery is used for generating mocks within elastic-agent repository.
At the time of writing, elastic agent uses mockery v2 but this version will not receive feature updates after 6 months from v3 release, although there is a commitment to support new go versions and bugfixes.
The goal of this issue is to switch from mockery v2 to mockery v3.
Definition of done:
.mockery.yamlis migrated to v3 following the migration guide- mocks are generated in a single file
mocks_test.goin the same package as the interface definition/usage abandoning the paralleltesting/mockspackage tree. - modify the
dev:regenerateMocksmage target accordingly
Metadata
Metadata
Assignees
Labels
TestingchoreTasks that just need to be done, they are neither bug, nor enhancementsTasks that just need to be done, they are neither bug, nor enhancementsgood first issueGood for newcomersGood for newcomers