boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

Is it possible to ignore (TooFewKeywordSteps) when keyword added with 'No Operation' #53

Closed adiralashiva8 closed 3 years ago

adiralashiva8 commented 6 years ago

REQUIREMENT: I need a keyword in my test whose implementation will be done in future, so I added keyword with 'No Operation'.

Example:

Keywords Keyword Name | |No Operation

QUESTION: Is it possible to ignore keyword with 'No Operation' in (TooFewKeywordSteps)?

boakley commented 6 years ago

At present, no, it's not possible. However, you can certainly write your own rule that does.

On Sun, Jul 15, 2018 at 1:21 AM Shiva Prasad Adirala < notifications@github.com> wrote:

REQUIREMENT: I need a keyword in my test whose implementation will be done in future, so I added keyword with 'No Operation'.

Example: Keywords Keyword Name No Operation

QUESTION: Is it possible to ignore keyword with 'No Operation' in (TooFewKeywordSteps)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-lint/issues/53, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEmYrHgWRHx3_WgVW24bD_z5nuh-Dfjks5uGt9wgaJpZM4VQIZQ .

Julian88Tex commented 3 years ago

@boakley I vote for a keyword never having too few steps based on our most recent conversation about very readable tests with no variables :-).