robotframework-lint
robotframework-lint copied to clipboard
The "PeriodInSuiteName" Rule does not run on directory names
A test suite can be a folder, and running the "PeriodInSuiteName" does not get triggered on the a folder.
Reproducible: 100%
Steps to Reproduce:
-
Create the following directory structure
├── RFLintTest │ ├── MyLinter.Testing.robot │ └── SubSuite.WithPeriod │ ├── Test.robot │ └── __init__.robot -
Run
rflint --ignore all --error PeriodInSuiteName --recursive ./RFLintTest$ rflint --ignore all --error PeriodInSuiteName --recursive ./RFLintTest/ + ./tests/RFLintTest/MyLinter.Testing.robot E: 0, 0: '.' in suite name 'MyLinter.Testing' (PeriodInSuiteName)