← Back to team overview

commonsense team mailing list archive

[Bug 385019] Re: Poor test coverage

 

** Description changed:

  We should identify where our test coverage is poor and write out more
  tests. This is something that should be very accessible to novice
  contributors: write tests that express your own understanding of how the
  program works.
  
- We should also look into using nose as a testing framework.
+ Places badly needing more tests:
+  - SVD result utilities (e.g., u_dotproducts_with)
+  - tensor math
+ 
+ Here's how to use "coverage" to see where our coverage is good/bad. (But
+ just because a line is green doesn't mean it's fully tested. Try
+ changing that line and make sure tests fail.)
+ 
+ easy_install coverage
+ nosetests --with-coverage --cover-package=csc.divisi --cover-html
+ firefox cover/index.html

-- 
Poor test coverage
https://bugs.launchpad.net/bugs/385019
You received this bug notification because you are a member of
Commonsense Computing, which is the registrant for Divisi.

Status in Divisi: New

Bug description:
We should identify where our test coverage is poor and write out more tests. This is something that should be very accessible to novice contributors: write tests that express your own understanding of how the program works.

Places badly needing more tests:
 - SVD result utilities (e.g., u_dotproducts_with)
 - tensor math

Here's how to use "coverage" to see where our coverage is good/bad. (But just because a line is green doesn't mean it's fully tested. Try changing that line and make sure tests fail.)

easy_install coverage
nosetests --with-coverage --cover-package=csc.divisi --cover-html
firefox cover/index.html



References