[chirp_devel] [PATCH] Fix clone.py to not attempt to read empty ports list.

Dan Smith
Fri Jul 15 12:14:20 PDT 2011


> Interesting... looks like this isn't the first time this has been fixed:

Heh, oops.

> Lots of other changes since then though. Is there a way to do
> regression testing on GUI stuff, or do the tests only cover radio
> drivers?

It's really hard, as you might imagine. The easiest way is to break out 
UI functionality as much as you can (like I tried to do with the 
import/export stuff recently) and then unit-test those functions 
specifically.

You can, to some degree, automate things like dialog boxes by 
instantiating them and calling their response() method to give them the 
"answer" that the user chose. It's hard work, and tedious, and won't 
cover everything. Are you interested in trying to work on some of that? 
If so, I'm happy to help, or at least watch :)

-- 
Dan Smith
www.danplanet.com
KK7DS




More information about the chirp_devel mailing list