Closed xmkg closed 7 months ago
@mustafakemalgilor while we should probably fix that, I feel it makes sense to give the files meaningful names so that you can tell what they are doing from their name so e.g. suffix like _pass.yaml _fail.yaml is what i usually use.
Sure, in this context the suffixes are version numbers for different keystone releases I'd like to test the scenario against. I wanted to be verbose on test cases for ensuring that the new version comparison logic works as intended for non-superficial use cases.
Assuming the following YAML file names, the auto-deduced test case names are the same even though the file names are different:
These files yield
lp1896125-17
as the test name, which leads to a name collision.Ideally, the code should strip away the file extension, sanitize the remainder, and use that as a test name.