[TIP] Installing test suite when installing packag in production (was: Fwd: Advice on location of tests modules)

Ben Finney ben+python at benfinney.id.au
Sat Mar 1 15:29:54 PST 2014


"C. Titus Brown" <ctb at msu.edu> writes:

> But I do think that's the only use I've seen for installing the tests
> in production environments.

Another use is for an OS package manager to present an option to “run
the included test suite when installing this package”, to catch problems
early when installing on a new system.

Debian is one OS (there may be others) which is working toward
standardising this capability. This will increase the motivation to
install the test suite along with the rest of the package, and so it
will be good to discuss conventions for where they should be stored and
installed.

-- 
 \         “If nature has made any one thing less susceptible than all |
  `\    others of exclusive property, it is the action of the thinking |
_o__)                          power called an idea” —Thomas Jefferson |
Ben Finney




More information about the testing-in-python mailing list