Modern Web Development and Dependency Management

Package Management Package management is a collection of the software packages which ease the process of installing, upgrading, deleting and configuring software packages from the project or computer operating system. As most of the web developers use Linux or Mac OSX for the web development, we have plenty of options HomeBrew Homebrew  is a package manage for OSX. Homebrew can be easily installed with Ruby with the following command. [crayon-58a98566af8a6371920488/] Once installed, We can then install packages with simple command [crayon-58a98566af8b8345410375/] Packages installed with Homebrew are installed at "/usr/local/Cellar" directory in OSX. There are various options available for uninstall, list, search, update or upgrade brew packages. Usage and troubleshooting information just do [crayon-58a98566af8c0100384588/] MacPorts MacPorts is another package manager for the OSX. In order to install MacPorts, we need to have Xcode…
Read More

Javascript Coverage & Continuous Integration with Jenkins, QUnit and Grunt

Automation, BDD
QUnit and Grunt QUnit is a powerful a javascript unit testing framework. Like other unit testing frameworks, it would be quite useful to measure code coverage of the JavaScript code using some modern code coverage tools. Grunt is a javascript task runner. Like other build tools Rake, Ant, maven, phing, Grunt is a build tool for JavaScript tasks. In this short post, we will see how to setup continuous integration  for JavaScript code coverage using Grunt and other useful grunt plug-ins. I have forked source-code of  "Qunit-Demo-Advance" from GitHub. Source-Code for this demo is available on GitHub " Modern-Toolkit" repo. Grunt plug-ins used in this Demo are grunt-qunit-junit : To display JUnit style JS reports on Jenkins grunt-istanbul : To code coverage for JavaScript Code.  Configuration Pre-requisite: You have nodeJS and npm installed Assuming…
Read More