Unit Testing with QUnit
OpenUI5
supports QUnit testing.
In this section:
QUnit Testing Fundamentals
How to Test OpenUI5 Controls with QUnit