Re: [Wireshark-dev] Unittesting the Qt UI

2019-08-05 Thread Gerald Combs
To get up and running quickly you should be able to add something like the following to the case_unittests class in suite_unittests.py: def test_unit_qt_test(self, program, base_env): '''qt_test''' self.assertRun(program('name_of_test_program'), env=base_env) You can then ru

[Wireshark-dev] Unittesting the Qt UI

2019-08-05 Thread Roland Knall
Hi I am currently building unittests to ensure, that the ProfileModel implementation does not change functionality. Also, in the future, I want to implement coverage to help further sanitize code. I am at loss though on how to integrate my tests in our test framework. Currently I've created a dir