Closed changlong-liu closed 3 years ago
@changlong-liu Changlong Liu FTE Left a few comment, I am wondering should we make positive and negative test configurable?
yes, we can discuss in CLI bi-weekly meeting whether mock test should be generate by default or on demand.
/azp run
@changlong-liu I am also curious, Since you are using code template to generate the conftest.py or positive negative tests, Is this possible that the generated code may violate some pylint rules? Do we need to use code format tools to format them just in case ?
@changlong-liu Changlong Liu FTE I am also curious, Since you are using code template to generate the conftest.py or positive negative tests, Is this possible that the generated code may violate some pylint rules? Do we need to use code format tools to format them just in case ?
Hi @qiaozha , don't get pylint issue now. And I didn't use auto-formating on them since:
@changlong-liu Changlong Liu FTE I am also curious, Since you are using code template to generate the conftest.py or positive negative tests, Is this possible that the generated code may violate some pylint rules? Do we need to use code format tools to format them just in case ?
Hi @qiaozha , don't get pylint issue now. And I didn't use auto-formating on them since:
- it will affect inplace-edit in test file
- the formatted result looks not as good as current output. (now each param is in one txt line, and the auto-formatting will merge them without particular alignment)
I see
@changlong-liu Left a few comment, I am wondering should we make positive and negative test configurable?