[Sugar-devel] Unit testing an activity

Taylor Rose (RIT Student) tjr1351 at rit.edu
Thu May 3 14:54:59 EDT 2012


Does anyone have advice about how to run unit tests for an activity? I am
working on a video conferencing activity called Open Video
Chat<https://github.com/FOSSRIT/Open-Video-chat>.
I'd like to be able to run some basic unit tests on the activity but I'm
not sure how to instantiate an activity in a testing environment or if it's
even possible. Can anyone offer advice or point me to an example? I'd like
to be able to mock a connection and make sure the activity reacts properly,
starting up gstreamer and such.

Thanks,
Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120503/b941eccb/attachment.html>


More information about the Sugar-devel mailing list