1. cherrypy
  2. CherryPy
Issue #177 resolved

Regression test suite rewrite

Robert Brewer
created an issue

The current test suite:

  1. ...is hard to debug, since server-side code is executed in separate processes,
  2. ...is hard to extend, due to dispersed code-generation,
  3. ...is fragile in spots, since it duplicates a lot of internals found in other, more robust testing tools.

A new test suite should avoid the code-generation (exec and eval) and run servers in separate threads, not separate processes. It should take advantage of existing, stable, testing frameworks, like unittest, py.test?, or doctest.

Comments (3)

  1. Log in to comment