[metrics-bugs] #21171 [Metrics/Onionoo]: write a test for NodeDetailsStatusUpdater
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Fri Jun  9 01:57:53 UTC 2017
    
    
  
#21171: write a test for NodeDetailsStatusUpdater
-----------------------------+------------------------------
 Reporter:  iwakeh           |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  metrics-help     |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------
Comment (by kiki201):
 Do I need to create mock objects for ReverseDomainNameResolver,
 LookupService, Descriptor and other classes?
 Do I need to use reflection to test private methods and do I even need to
 test private methods?
 These are questions that I had sent to the metrics mailing list. It was
 inappropriate to send them there so I'm asking them here instead.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21171#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the metrics-bugs
mailing list