parameterized
parameterized copied to clipboard
stop hardcoding "test" prefix in parameterized_class
trafficstars
In https://github.com/wolever/parameterized/issues/73 and https://github.com/wolever/parameterized/blob/b9f6a640452bcfdea08efc4badfe5bfad043f099/parameterized/parameterized.py#L698-L707 parameterized_class was updated to remove the test* methods from the base class. We sometimes use a custom test runner to run test-like methods in parameterized classes. These methods have a different prefix than test*. It would be nice if we could specify that prefix such that parameterized_class would remove these methods from the base class.
Can you please provide a mechanism to change the prefix of the methods that parameterized_class removes from the base class instead of having it hardcoded to test*?