akondrahman / IaCTesting

Placeholder for the research study related to IaC testing anti-patterns
3 stars 256 forks source link

Need to filter out Python files altogether ... Python modules need to be skipped #5

Closed Talismanic closed 4 years ago

Talismanic commented 4 years ago

We should not filter python files altogether. Pytest is used by TestInfra framework in ansible testing which are written on python. This is used as verification framework in molecule. So skipping this recommendation.

akondrahman commented 4 years ago

In that case there might be some Python-specific testing anti-patterns, right?

Talismanic commented 4 years ago

Normally testing anti-patterns are not language or framework specific, these are actually a collective behavior of the test code.

However, coding antipatterns or antipatterns of coding best practices can be language or framework specific.

akondrahman commented 4 years ago

OK. Maybe then we can skip looking for anti-patterns in Python code