During this season of giving, you can show your support for the NTP Project by making a donation to Network Time Foundation.

Unit Testing (GSoC 2010)

Summary

The goal of this project is to cover as much of the codebase as possible with unit tests. The top priority will be to implement tests for libntp, and after that move on to ntpd and ntpq. Tests will be written using Google Test.

My work is kept in a separate BitKeeper repository, located at the developer machines. The path is: ~karlsson/ntp-gsoc-testing UPDATE: the code is now in ntp-4.2.7p75.

Related Items: UnitTestingNotes, NtpdFunctionMap

Timeline

Date Task Description % Done
2010-04-26
 
Accepted student proposals announced on the Google Summer of Code 2010 site.
DONE
2010-04-26
Community Bonding
Students get to know mentors, read documentation, get up to speed to begin working on their projects.
 
2010-05-24
Coding begins
Students begin coding for their GSoC projects
 
2010-05-24
Set up framework
Integrate Google Test in some sort of “make test” manner. I just want a simple way to run (all/some) tests, this does not have to be the final solution.
 
2010-05-28
libntp planning
Make a plan of which functions to test and try to identify troublesome parts to test.
 
2010-06-02
libntp tests
Write tests for libntp.
 
2010-06-16
ntpd planning
 
 
2010-06-22
ntpd tests
 
 
2010-07-06
ntpq planning
 
 
2010-07-11
Unavailable
/me getting some sunlight in Greece.
 
2010-07-12
Start mid-term evaluations
Mentors and students can begin submitting mid-term evaluations.
 
2010-07-16
Mid-term evaluations
Mid-term evaluations deadline
 
2010-07-19
ntpq tests
 
 
2010-08-02
Extra
This time will probably be used to finish things up.
 
2010-08-09
Wrap-up
Suggested 'pencils down' date. Take a week to scrub code, write tests, improve documentation, etc.
 
2010-08-16
Firm 'pencils down' date.
Mentors, students and organization administrators can begin submitting final evaluations to Google.
 
2010-08-20
Final evaluation
Final evaluation deadline
 
2010-08-30
Code samples
Students can begin submitting required code samples to Google
 

Discussion and Comments

 
Topic revision: r10 - 06 Oct 2022, DruLavigne
Copyright © by the contributing authors.Use of this website indicates your agreement with, and acceptance of, the PrivacyPolicy, the WikiDisclaimer, and the PrivateWebPolicy.