[tor-bugs] #9874 [BridgeDB]: Research/design a way to automate testing of BridgeDB's HTTPS and email distributors

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 2 09:05:33 UTC 2013


#9874: Research/design a way to automate testing of BridgeDB's HTTPS and email
distributors
--------------------------------+----------------------
 Reporter:  isis                |          Owner:  isis
     Type:  enhancement         |         Status:  new
 Priority:  normal              |      Milestone:
Component:  BridgeDB            |        Version:
 Keywords:  bridgedb-unittests  |  Actual Points:
Parent ID:  #9865               |         Points:
--------------------------------+----------------------
 We should find a way to write tests for the web interface and email
 responder. Currently, when I build a branch for testing, I run the
 unittests, then go over to the configured run/ directory, make/update some
 fake bridge descriptors, start bridgedb listening on localhost, then
 fiddle with various content settings like fonts and accepted languages,
 click on things, fiddle with URLs, and make sure nothing seems super
 broken. This should be automated.

 [http://www.getwindmill.com/ ​Windmill]
 ([https://github.com/windmill/windmill/wiki/IDE ​more docs]) and
 [http://twill.idyll.org/python-api.html ​twill] look promising. Windmill
 probably wouldn't run very nicely on a headless server, however, as it
 drives a browser.

 Find a way to write tests for the email responder. This could probably be
 a simple script to call sendmail, or it could be written in Twisted.

 These tests don't need to be comprehensive immediately, just hack out
 something that works and is less crazy than doing it by hand another
 thousand times.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9874>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list