If you develop SAPUI5 Apps locally, you will need to set up a local test runner like Selenium or Karma that automatically executes all tests. This blog post explains how you can configure automated tests with Karma and its plugin Coverage, for example when you are struggling with the tutorial step “Test Suite and Automated Testing“.
Continue reading “SAPUI5: Automated tests with Karma”SAPUI5: Consider proxy in Mock Server Configuration
If you use a proxy server for your local SAPUI5 development, then do not forget to adjust the rootURI of the mock server configuration as well. The rootURI of the mock server configuration must be exact the same as the data source uri of the manifest.json.
Continue reading “SAPUI5: Consider proxy in Mock Server Configuration”CORS: Proxy server for remote OData Service in local SAPUI5 Dev
A proxy server is needed if you want to develop SAPUI5 Apps locally, e.g. in Visual Studio Code, and access a remote OData Service like Northwind OData Service. A node.js server adds CORS headers to the requests which come from a local running app.
Continue reading “CORS: Proxy server for remote OData Service in local SAPUI5 Dev”