Mocha.js for Test Automation of Node.js REST API on Oracle Developer Cloud Service by Abhinav Shroff

Posted: January 29, 2018 in Cloud, JDeveloper & ADF
Tags: , , , , , , ,

image

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.

WebLogic Partner Community

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.