Actions
User story #6368
closedMethods named check_* should have an equivalent without reporting
Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
No
Description
Methods such as file_check_exists report on their result whereas we may not want to.
There are 2 use cases :
- we want the file to be present and we want the method to tell us if not
- we want to know wether the file is present or not and take an action based on this
The second case is a new methods.
We could name them does_* instead of check_*, for example file_does_exist
Actions