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

[tor-bugs] #11141 [Tor Weather]: Create unit-tests for weather components



#11141: Create unit-tests for weather components
-----------------------------+---------------------
 Reporter:  baumanno         |          Owner:
     Type:  task             |         Status:  new
 Priority:  normal           |      Milestone:
Component:  Tor Weather      |        Version:
 Keywords:  weather-rewrite  |  Actual Points:
Parent ID:                   |         Points:
-----------------------------+---------------------
 In order to make current work and future integration as stable and
 seamless as possible, we should cover all code by unit-tests.

 To start with, we could begin with a test suite containing all re-written
 components and move towards full coverage once the integration is stable.

 Unless any team member has prior experience with testing Python/Django
 applications ([[https://nose.readthedocs.org/en/latest/|Nose]] looks
 promising), I suggest we stick with Python's
 [[http://docs.python.org/2/library/unittest.html|unittest]]-module for the
 following reasons:
 a) preferred way of
 [[https://docs.djangoproject.com/en/dev/topics/testing/|testing Django]]
 b) part of batteries-included Python - no extra installation necessary,
 which lends itself well to portability

 Measuring code coverage and performing CI could be possible next steps.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11141>
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