Add unittests of lava-dispatcher itself

Registered by Jason Hobbs

Using python's unittest module, it should be possible to test much of lava-dispatcher's code base. Most of the infrastructure in lava-dispatcher is not covered by unittests. This makes it difficult to refactor. This is doubly problematic with lava-dispatcher because it's not always possible to test changes with all types of hardware or configurations used by other consumers of lava-dispatcher.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
Undefined
Drafter:
Jason Hobbs
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
Accepted for linaro-11.11
Implementation:
Unknown
Milestone target:
milestone icon backlog
Completed by
Neil Williams

Related branches

Sprints

Whiteboard

User Stories:
* As a lava-dispatcher developer, I want to be able to run a suite of unittests after making changes to lava-dispatcher to help make sure I didn't break anything.
* As a lava-dispatcher maintainer, I want to make sure patches submitted for lava-dispatcher don't break anything
* As a lava-dispatcher, I want to add unittests because they force me to think about and improve the design of lava-dispatcher

(?)

Work Items

Work items:
* Come up with a prioritized list of areas to add unit tests too: TODO
* Start adding unittests: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.