cloudbeat icon indicating copy to clipboard operation
cloudbeat copied to clipboard

[POC] component testings

Open olegsu opened this issue 2 years ago • 1 comments

This proof of concept is to validate that component testing can be achieved and to summarise what are the changes that should be done todo so.

The motivation and more details explanation can be found in the discussion

DOD

  • [ ] Remove all init funcitons
  • [ ] Remove globals
  • [ ] Network, file system, and other dependencies should be initiated as soon as possible and injected to the functions.

olegsu avatar Feb 21 '23 06:02 olegsu

This is a placeholder to have a detailed explanation of what it actually means in terms of

  1. Conceptual changed
  2. Code refactoring

Remove all init functions

Remove globals

Dependecy injection

olegsu avatar Feb 21 '23 06:02 olegsu