Task #3608

Updated by dalley about 6 years ago

In order to The python plugin currently has 3 separate test certain things such fixtures which are, as filtering or sync / repo version behavior, we need far as I can tell, identical.    The only one being used is the one located at /python-pypi/ (as far as I can tell). 

 What would be more useful would be a richer set of 3 test fixtures than what we currently have. which are different sizes and contain different packages. 

 A completely non-binding _suggestion_ Non-binding suggestion for how this could work: 

 * python-pypi-xs python-pypi-small would contain just 2-3 packages, one of each kind of packagetype, all from the same project 
 * python-pypi-sm would contain ~10 packages, perhaps mostly with weird names or old/new metadata formats packages 
 * python-pypi-md python-pypi-medium would contain ~25 packages from ~3 split across 4-5 projects 
 * python-pypi-lg python-pypi-large would contain ~50 ~80 packages all from ~6 projects one project like Django 
 * python-pypi-xl python-pypi-extra-large would contain somewhere from several hundred to 1200 packages (maybe all versions of django, (django, numpy, scipy, flask) 

 It This would be good make it easier to select packages to get test a good breadth variety of options available for testing.   

 Extra-small would be for the most basic tests, and for the README. 

 Small could be for testing weird corner cases things like making sure Pulp can handle weird characters in names/metadata, and metadata versions. filtering.    And also a few tests where you want to test syncing from different remotes into one repo. 

 Medium and large would be mostly for testing filtering, so it would be good to have a variety of authors, projects, packagetypes, etc. 

 Extra-large would be exclusively for performance and load testing and not so much for any kind of normal tests.    This would avoid being too rough with respect to PyPI resource usage. 

 (Again, all of that is a suggestion and more opinions are welcome)