Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Add tests for TeosDaemon #209

Open
bigspider opened this issue Sep 8, 2020 · 0 comments
Open

Add tests for TeosDaemon #209

bigspider opened this issue Sep 8, 2020 · 0 comments
Labels

Comments

@bigspider
Copy link
Collaborator

After the refactoring of teosd.py in #202, all the code that handles the initialization of the tower's components, starting the services and clean teardown is contained in the TeosDaemon class.

This should allow now to have some unit tests for the various parts of the code of the class.

Things to consider:

  • a further refactoring of the methods might be needed to improve testability
  • we might want to have some form of dependency injection in order to be able to mock the various components during unit tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant