Big +1 from me! Another fairly useful reference for Python testing is available at [1]. Also, Cam's link is slightly broken. Just remove the trailing * and it'll work for you ;) If you want to help out on the UI a good Jasmine tutorial is available at [2]
[1] http://pyunit.sourceforge.net/pyunit.html [2] http://pivotal.github.io/jasmine/ -- Joyce On Tue, Jun 18, 2013 at 10:17 PM, Cameron Goodale <[email protected]>wrote: > Hey Devs, > > The subject of Unit Testing came up between some developers at JPL and I > wanted to provide the following information to the development community as > a whole. Some of this might be old hat to some people on this list, and it > might be completely new to others. > > > *Unit Tests are just good solid engineering for software. My goal and the > over-arching goal of the project is for OCW to incorporate tests moving > forward. I will post another email to the dev list at Apache echoing this > sentiment.* > > *An excellent tutorial on unit testing in Python can be found here:* > > *http://nedbatchelder.com/text/starttest.html* > > *Ned is a Python core developer and I had the chance to meet with him at > PyCon this past year. He is an excellent speaker and really knows his > stuff. If you want to learn more about Python read his blog and follow him > on twitter.* > > * > * > > That is the end of my internal JPL email (full disclosure to the group). > So if anyone on this list is a testing master in python or any language > please participate in the upcoming review boards including unit tests. If > you have never written a unit test in your life, but want to learn, there > is a lot of code that needs testing, just bite off a small chunk and I am > confident the rest of the team will support your testing efforts. > > Mike Joyce has also started to implement unit tests in his UI code using > the javascript testing suite Jasmin with Karma running on Node.js. So if > you want to get into testing javascript, or just helping with the AngularJS > based UI development, there is opportunity there as well. > > > Be Excellent to Each Other, > > > Cameron G. >
