Several types of tests should be done for a release of a package : * unit tests during the development. * functionnal tests (based on test cases). * stability tests.
When a new release of a package is ready, a test campaign must be launched on this package. This campaign uses the test cases.
Before going in the stable repository a package must be tested for several days without restarting it! This is very important for : * detecting memory leaks. * checking if the package doesn’t crash after some time. * ...