YumReleaseTests

Tests Before a Yum Release

Each of these should be run on any release before it happens:

yum install somepkg
yum install something_that_doesn't_exist
yum -y install something | tee >/tmp/foobar
yum remove
yum localinstall
yum list updates
yum update
yum groupinstall
yum groupremove
yum grouplist
yum info
yum groupinfo
yum makecache
yum clean all
yum -d0 -e0 install
yum --version
yum search
yum provides
yum shell
   repo
   config
   etc
   
yum deplist
yum list obsoletes
yum list available
yum list installed
yum check-update

If anything fails the release shouldn't happen.

Automated testing

(Based on discussion a Boston FUDcon 2007) The above testing ideas are done from a clean cache i.e. "yum clean all" DavidMalcolm has been writing some test code ("rpmfluff") that could be leveraged to building an automated test suite for yum. Code can currently be found here: [WWW] https://testing.108.redhat.com/source/browse/testing/trunk/incubator/rpmfluff/

What things will we need to construct test cases?

Depsolving: need to be able to check policy, are the results from a run "reasonable"?

Other stuff:

last edited 2007-08-23 14:39:23 by SethVidal