Skip to content

Restructure test files and remove redundant test cases

Yury Matveyev requested to merge optimize_tests into develop

Our test_server.py file has become enormous: 6.5K lines. It is really complicated to find anything in it. I propose we split it into four files:

test_server.py - general and miscellaneous tests test_attributes.py test_commands.py test_properties.py I also propose renaming test_client to test_device_proxy, since we will soon have test_attribute_proxy, which is also a set of client tests.

Additionally, I propose removing redundant green_mode tests where they do not affect functionality or repeat what is already tested. This will save us approximately 300 tests out of 1,400.

Merge request reports

Loading