Automated GSM testing

Kristian 'kriss' Mueller kriss at mput.de
Thu Sep 6 20:18:41 CEST 2007


Hi

Thomas Wood wrote: 
> Mickey, Sean and I discussed the state of gsmd today and one thing we
> decided that would be a good idea was a test suite for people to do some
> automated testing of gsmd. This is important because we need to collect
> reliable data on a wide variety of situations, such as different
> providers and countries.

If Python is a choice here:

SettingsGUI implements an interface to libgsmd-tool. Using the
ProcessInterface.py you could implement everything libgsmd-tool can do,
in a matter of minutes.

Example:
  gsm_tool = ProcessInterface("%s -m shell" % LIBGSMD_TOOL)
  gsm_tool.register_event_handler("EVENT: Signal Quality", self.cb)
  gsm_tool.write_to_process("O")
  gsm_tool.write_to_process("r")

Of course the test suite would then have to be implemented in Python.
But, it would also allow tests of libgsmd-tool and could still log the
output of gsmd, running in the background. 

Also a GUI and Network interface could be implemented relatively quick.
The needed Python packages including python-pygtk would add about 9
MByte to the filesystem though.

Data could be logged and send to a server just like that nice screenshot
tool is already doing...


Greetings from Berlin
Kristian
-- 
/* Web:  http://www.mput.de  | Jabber: kristian at mput.de        *
 * Blog: http://mput.de/blog | MSN:    mueller.kristian at vdi.de *
 * Wiki: http://mput.de/wiki | ICQ:    93248497                *
 * Tel:  0170/6692447        | GPG-ID: 164A9A11                */




More information about the framework-devel mailing list