Kumar112
Kumar112

Reputation: 224

Having file encoding is making env selection obsolete in karate

Having file encoding -

<argLine>-Dfile.encoding=UTF-8</argLine>

makes the kaate env as null

mvn test -DargLine="-Dkarate.env=e2e".

I think there is a bug here. Tried all versions from 0.5.0

Upvotes: 0

Views: 70

Answers (1)

Peter Thomas
Peter Thomas

Reputation: 58058

I think you need to do this:

-DargLine="-Dkarate.env=e2e -Dfile.encoding=UTF-8"

Upvotes: 1

Related Questions