Skip to Content
Former Member
Jun 27, 2016 at 10:33 AM

setup Grunt task for Karma/Jasmine test runner - SAPUI5 Project



I am trying to setup grunt task to run unit test cases for my SAP UI5 project. I have included sap-ui-core.js manually in karma.conf.js file.

Somehow I am not able to pull that dependency during test runner.


Chrome 51.0.2704 (Windows 7 0.0.0) ERROR

Uncaught Error: failed to load 'sap/ui/core/library.js

If anyone done setup as above for SAPUI5 project to run unit test cases , please assist on this.

Any light on this issue will be much appreciated.

thanks in advance.