[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #21171 [Metrics/Onionoo]: write a test for NodeDetailsStatusUpdater
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs