Testing of packages

Ralf Corsepius rc040203 at freenet.de
Fri Apr 27 12:33:00 UTC 2012


On 04/27/2012 02:11 PM, Matthias Runge wrote:

> I wonder how different a run-time test-suite dffers from a test suite to
> be executed during build.

There are 2 major differences:

1. The package-to-test itself is not installed to its final destination.

2. A testsuite being run in %check has access to the source-tree and 
build-tree.

Both together imply a %check testsuite usually accesses different files 
in a different environment than an installed testsuite would.

Apart of this, there are test-cases, which can not be/can not be easily 
executed inside of a mock-environment as part of building.

Ralf



More information about the test mailing list