on 05-02-2014 1:13 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.