[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #9937 [BridgeDB]: Create fake non-sanitised bridge descriptors for BridgeDB testing purposes



#9937: Create fake non-sanitised bridge descriptors for BridgeDB testing purposes
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:  isis
     Type:  enhancement                          |         Status:  new
 Priority:  major                                |      Milestone:
Component:  BridgeDB                             |        Version:
 Keywords:  bridgedb bridge-descriptors          |  Actual Points:
  bridgedb-unittests stem                        |         Points:
Parent ID:  #9865                                |
-------------------------------------------------+-------------------------
 Sysrqb has written [https://github.com/sysrqb/tdgen a script to generate
 fake descriptors]. It should be merged into BridgeDB.

 The fake descriptors should be used for testing BridgeDB, for the internal
 database functionality, as well as for the parsers for adding bridges to
 the database and for distributing to users, and the web and email
 interfaces, so that anyone can run it or run the tests without requiring
 actual bridge descriptors.

 Eventually, BridgeDB should have bridge descriptor classes (#9380 and
 #9462) and unittests to ensure that, given some valid descriptors and
 false descriptors, only valid descriptors match the bridge descriptor
 classes and are accepted. This fake bridge descriptor generator should,
 whatever the stage of BridgeDB's (or Stem's) descriptor parsers, create
 bridge descriptors which function identically to how BridgeDB treats
 actual descriptors.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9937>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs