How to set one of the test method value different than all other test methods. I want to set subclass Test1's testName2() test method's name is local instead of global.
If there is something different about this method comparing to all other methods in the class - probably you really want to put it into other class?
However the simple approach you proposed - with setting this property directly in the method - should work all right and it will look good for people who'll need to support your code.