cancel
Showing results for 
Search instead for 
Did you mean: 

UI5, QUnit and Logs

Former Member
0 Kudos

Hi there,

i am trying to write some unit tests with QUnit on my oData UI5 project.

I want to find a way to get an ouput file as a report.

I actually have some logs in console but i'd like an ouput as html, xml, txt file.

Thanks for your help,

regards,

Marc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marc,

the only way i know to save the output of QUnit is via PhantomJS. Have a look at this article: Logging Test Failures in a PhantomJS QUnit Runner

Using such an environment will redirect all "console.log" - outputs to a console. Besides, the console-information can be easily saved in a simple text-file.

As far as i know, there is no built-in functionality in QUnit to download logs from browser.

Regards

Michael

Former Member
0 Kudos

Hi Michael,

it works. Thank you for this fast useful and correct response,

Regards,

Marc

Answers (0)