Menu

#3 need more automated testing

next-release
open
5
2009-01-29
2008-12-03
No

testing is currently done by hand;

there are 6 major modules; each needs its own suite of automated tests;

python uses pyunit as its standard unit testing mechanism;

Discussion

  • Gerard Vignes

    Gerard Vignes - 2008-12-24
    • labels: 1164455 --> automated-testing
     
  • Gerard Vignes

    Gerard Vignes - 2008-12-24
    • summary: need unit testing --> need automated testing
     
  • Gerard Vignes

    Gerard Vignes - 2009-01-01

    add exception handling and error reporting first;

     
  • Gerard Vignes

    Gerard Vignes - 2009-01-05

    for now, implement automatic "smoke test" or regression test; since search is a batch-oriented program, unit testing is less effective; therefore, i use a combination of trace diagnostics and a filter that checks these diagnostics to see if anything is amiss; unwanted things include: (1) exceptions (2) missing essential steps (3) missing branches---e.g., execution should take one of a small number or branchs, but none are taken; some parts of the code base will take unit tests; they tend to be module methods that don't modify the database or download data, but rather perform simple, easy-to-verify operations; for now, i need a smoke test to refactor the code base---in particular searchReport.py and configuration.py; configuration.py works well, but it is a real mess as far as extensibility goes; i will continue to add automated tests as i refactor these modules that are experiencing growing-pains;

     
  • Gerard Vignes

    Gerard Vignes - 2009-01-05
    • priority: 9 --> 5
     
  • Gerard Vignes

    Gerard Vignes - 2009-01-05
    • summary: need automated testing --> need more automated testing
     
  • Gerard Vignes

    Gerard Vignes - 2009-01-11
    • priority: 5 --> 9
     
  • Gerard Vignes

    Gerard Vignes - 2009-01-11

    need to add many more tests to test.py; this script checks the trace messages produced by search.py (given the traceOn parameter);

     
  • Gerard Vignes

    Gerard Vignes - 2009-01-12
    • priority: 9 --> 7
     
  • Gerard Vignes

    Gerard Vignes - 2009-01-29
    • priority: 7 --> 5
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.