-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
acceptedNew rule is acceptedNew rule is accepted
Description
Rule
I suggest to add one rule that will check that there is no imports from static tests namespaces.
Reason
Time to time we're getting issue with running tests on PRs in magento/magento2 repository because someone imported \Magento\Tests\NamingConvention\true\string
by mistake. As result - we have "No build reports available" for "Database Compare build", "Functional Tests build", "Sample Data Tests build" while Static tests are shown as "failing" but in results - we don't really have reason. Example: https://github.com/magento/magento2/runs/214712913
Implementation
Check that all files in all modules do not contains any imports from \Magento\Tests\NamingConvention
namespace
Metadata
Metadata
Assignees
Labels
acceptedNew rule is acceptedNew rule is accepted