rdkcentral / python_raft

RAFT is a Python based testing framework for writing engineering tests. It provides a modular, config driven, low level testing framework
Apache License 2.0
2 stars 0 forks source link

Integrate deviceController with unittest #67

Closed zghp closed 14 hours ago

zghp commented 4 weeks ago

Goal:

Implement a new deviceController class to encapsulate all device-related logic. Write and execute tests for the deviceController using the unittest framework.

Acceptance Criteria:

zghp commented 2 weeks ago

In short, we need to integrate a singleton so that the init of the unit test class and the init of the unit test main refer to it (this should work because unittest is still used as it was intended to but we override and set it up ourselves before we get there). And by calling super it means that both their parsers and our parsers are involved (thanks to the singleton)

zghp commented 2 days ago

Refactoring the code based on the review feedback

zghp commented 14 hours ago

New plan has been created for unittest integration where deviceController is not needed at the moment. This ticket has been added to the snag list.