InterviewSolution
| 1. |
Why Does Sapui5 Use Qunit Tests? |
|
Answer» QUnit tests provide good SUPPORT for asynchronous testing. These types of tests are often needed for UI functional tests, for example if you have to wait until RENDERING is DONE, animations are complete, or a backend CALL returns. In addition, a QUnit test page can be executed standalone in the browser without the need of an ADDITIONAL "tool". This makes the creation and execution of single QUnit tests much easier. Finally, QUnit is closely related to jQuery, which is also a fundamental part of SAPUI5. QUnit tests provide good support for asynchronous testing. These types of tests are often needed for UI functional tests, for example if you have to wait until rendering is done, animations are complete, or a backend call returns. In addition, a QUnit test page can be executed standalone in the browser without the need of an additional "tool". This makes the creation and execution of single QUnit tests much easier. Finally, QUnit is closely related to jQuery, which is also a fundamental part of SAPUI5. |
|