Closed HossamEmam95 closed 5 years ago
Use the --output switch to select the output format.
'tap', 'json', 'xunit', 'spec', 'list', 'mochawesome'
I tried this .. but it just change the format appears in the terminal .. i want to export it in a txt file to save it for later compare
You can add "> output.txt" to the commandline to redirect the output to a file.
I tried this .. but it just change the format appears in the terminal .. i want to export it in a txt file to save it for later compare
will test myself and maybe provide fix for it
Tested it and it works:
botium-cli run > out.txt
Will write the test report to out.txt For plain text reports, the TAP-format is maybe the best choice.
botium-cli run tap > out.txt
Output file looks like this:
1..1
ok 1 Botium Test-Suite give me picture
# tests 1
# pass 1
# fail 0
I ran tests using cli .. by this command
the results are shown in the terminal .. how can I export this results in txt file?