This blog covers the testing automation of Node.js based REST service application using a popular testing framework called Mocha.js on Oracle Developer Cloud Service. The Node.js application will be deployed on Oracle Application Container Cloud Service.
Note: For details on how to develop and deploy NodeJS REST application on Application Container Cloud using Developer Cloud service, please refer the blog link here.
Tech Stack Used
Eclipse: IDE for Nodejs development.
Expressjs: Nodejs module for REST web service development.
Grunt: Tool for building the Nodejs code archive for deployment.
Testing Framework: Mocha.js
Oracle Developer Cloud: For CI & CD of the Nodejs application and Test automation as part of it.
Oracle Application Container Cloud: Cloud service to deploy Nodejs based REST web service
About Mocha framework:
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser. The primary goal of Mocha test framework is to simplify asynchronous testing. Mocha tests run in a prescribed order, this allows for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Forum
Wiki
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress