Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] mixed-task-test-settings complains for __init__.robot files with Task Tags setting #1101

Closed
MrBIN89 opened this issue Jul 25, 2024 · 1 comment · Fixed by #1103
Closed
Labels
bug Something isn't working

Comments

@MrBIN89
Copy link

MrBIN89 commented Jul 25, 2024

What happened?

RobotFramework file that causes an issue with mixed-task-test-settings rule

*** Settings ***
Documentation   Initialization file for suite of tasks
Task Tags       task

Robocop output

[W] task\__init__.robot:3:1 (mixed-task-test-settings:0326) Use test-related setting 'Test Tags' if Test Cases section is used

What command/code did you try to run?

robocop ./tasks/__init__.robot

What is the full error message?

[W] task\__init__.robot:3:1 (mixed-task-test-settings:0326) Use test-related setting 'Test Tags' if Test Cases section is used

What did you expect to happen instead?

No warnings related to mixed task & test settings

Operating System

No response

Robocop version

5.3.0

@MrBIN89 MrBIN89 added the bug Something isn't working label Jul 25, 2024
@bhirsz
Copy link
Member

bhirsz commented Jul 25, 2024

Interesting, thanks for the bug report. I will check it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants