Skip to content

Do not append carriage return #75

@divinity666

Description

@divinity666

Thanks a lot for providing this nice tool!

I want to use it to test my own open source project windows executable with it, as it's easy to use and provides everything I need. I just came across the issue, that the tool automatically appends a carriage return to the when calls:

childInputWrite = whenStep.response + '\r';

This is unfortunate, as this is depending on operating systems and application expectations.

I would propose to introduce a command line option, which allows to specify the line ending used in when. To keep backward compatibility, this could by default be \r, but should allow to configure nothing or \n or anything else.

What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions