All you need is a connected TV from any of the supported OEMs (Sony, Samsung, LG, VIZIO) to test your widget.
From the TV, open the widget gallery, click the green button, go to Developer Settings and get the developer code.
: http://gallery.tv.widgets.yahoo.com/publisher/ , .
.