You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using mocking to be able to test some of the functions in modules that depend on dynamic functionality (measuring available disks and disk sizes, getting a list of running apps, etc).
This is an iteration on our efforts to provide complete app testing.
There are two types of mocking we will be interested in doing:
DB call mocking, that we can leverage to simulate the existence of various states within the application. [MORE INFORMATION AND REFERENCES NEEDED HERE]
Some task guidelines for a PR:
Implement interfaces for mocking data that is called within storage.getDevicesSpaceUsage and storage.getDevices.
Reliably test all branches of those functions
Gather information about what in the codebase can benefit from this approach
Research DB call mocking to test edgeapps.go
The text was updated successfully, but these errors were encountered:
Using mocking to be able to test some of the functions in modules that depend on dynamic functionality (measuring available disks and disk sizes, getting a list of running apps, etc).
This is an iteration on our efforts to provide complete app testing.
There are two types of mocking we will be interested in doing:
Some task guidelines for a PR:
storage.getDevicesSpaceUsage
andstorage.getDevices
.edgeapps.go
The text was updated successfully, but these errors were encountered: