On 8/21/07, Florian Festi <[EMAIL PROTECTED]> wrote: > Are your test scripts available online somewhere? We really need more test > cases. Hi Florian,
I've packaged my test script into a git repo (also to test out how all this flashy new git stuff works) you can get it from here: git clone http://gewis.nl/~gijs/git/yum-test.git runtest.py runs a number of commands against various versions of yum (and smart) and compares the run-time, memory usage and installed packages (ignores removed packages for now). Second file in there (specfuzz.py) is a 'spec fuzzer' that can generate a spec file that will generate a given amount of sub-packages with random dependencies, obsoletes, etc between them. Sample output is in this yum repository (packages yumtest-1 till yumtest-100): http://gewis.nl/~gijs/testrepo As I said this is all just something I quickly hacked together as very first step to having a more complete test-suite. Let me know if you have any ideas on how to turn this into a useful regression tester. I myself was thinking of creating a bare repository of fedora being a version of all current fedora packages without any files (to limit the size and install time) and then installing them all into a chroot environment ala mock. We can then do full functional testing by profiling various commands against known baseline of a 'good' version of yum. This would make things more realistic compared to my 'fuzzed' repository that I am using now and we could also reliably test upgrades, erases, etc. Greets, Gijs _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
