Skip to content

allure generate command is not generating reports in the right folder when folder path has spaces #2988

@Bindu-paleti

Description

@Bindu-paleti

Describe the Bug

I am using playwright framework and trying to generate allure reports. Results are generated when test runs properly . However when i create a report using the below command , its throwing error.

allure generate "C:\Users\test001\Workspace\Tester's Work\Reports" -o "C:\Users\test001\Workspace\Tester's Work\Test_Run-01052025-092544\allure-report" --clean

Its not creating reports in intended folder. It automatically creates new folder Tester's and generating results there.

Error : C:\Users\test001\Workspace\Tester's does not exist
Work\Reports\Test_Run-01052025-092544\allure-report does not exist
Report successfully generated to C:\Users\test001\Workspace\Tester's

Steps to Reproduce

allure generate "C:\Users\test001\Workspace\Tester's Work\Reports" -o "C:\Users\test001\Workspace\Tester's Work\Test_Run-01052025-092544\allure-report" --clean

Its not creating reports in intended folder. It automatically creates new folder Tester's and generating results there.

Error : C:\Users\test001\Workspace\Tester's does not exist
Work\Reports\Test_Run-01052025-092544\allure-report does not exist
Report successfully generated to C:\Users\test001\Workspace\Tester's

Expected Behaviour

Reports should be created here according to my code . C:\Users\test001\Workspace\Tester's Work\Test_Run-01052025-092544\allure-report

Screenshots or Additional Context

No response

What Language are you using?

JavaScript

What Framework/Allure Integration you are using?

allure-commandline

What version of Allure Integration you are using?

2.33.0

What version of Allure Report you are using?

2.33.0

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions