Last active
July 24, 2019 10:48
-
-
Save PaulTaykalo/da1295b0958e12d95b71265e601c24ea to your computer and use it in GitHub Desktop.
All Classes and Extensions declared in tests should be private of fileprivate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
custom_rules: | |
all_private_helpers_in_tests: | |
included: ".*Tests?\\.swift" | |
name: "All private mocks" | |
regex: "^(class|extension) (?!\\w+Tests?)" | |
message: "All helpers in tests should be private" | |
severity: warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment