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

Stop Coverage keyword should tell if it could not find file defined in config_file argument in Start Coverage keyword #3990

Open
aaltat opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working priority: high

Comments

@aaltat
Copy link
Member

aaltat commented Jan 10, 2025

Describe the bug
If I have test that looks like this

*** Settings ***
Library    Browser

*** Test Cases ***
Example
    New Page    http://www.google.com
    Start Coverage    config_file=config.js
    Stop Coverage

Then Stop Coverage coverage keyword will say that all is fine although it could not locate the config.js file. Correct way of using the config_file argument would have been config_file=${CURDIR}/config.js.

We should enhance the discovery of the config file, if full path is not defined. Also if file is not still found, Start and Stop Coverage keywords should enhance the log message that could not locate the config file. Now we log that all is OK, which is misleading because configuration file was not found although report was created.

@aaltat aaltat added bug Something isn't working priority: high labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

1 participant