BasPH commented on issue #5847: [AIRFLOW-5241] Make test class names consistent 
by starting with Test
URL: https://github.com/apache/airflow/pull/5847#issuecomment-523863081
 
 
   Pytest docs regarding test classes:
   
   - Collects test prefixed test functions or methods inside Test prefixed test 
classes (without an __init__ method)
   - Within Python modules, pytest also discovers tests using the standard 
unittest.TestCase subclassing technique
   
   I indeed read that Pytest will ignore tests not prefixed with `test` or in 
classes starting with `Test`, but why would that be a bad thing? (if we must do 
so for reasons, we can configure the test discovery patterns: 
http://doc.pytest.org/en/latest/example/pythoncollection.html#changing-naming-conventions)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to