Welcome to my blog !


Running Junit tests with jmockit in eclipse

May 2, 2013 ·  1 min read

Running Junit tests with jmockit in eclipse Junit is a popular unit testing framework and jmockit is used to mock the objects. eclipse is my favorite IDE (integrated development environment) software tool that provides writing, debug, deploy code and existing test cases. eclipse provides different plugins like JUnit and maven plugins After installing JUnit and Maven plugins to eclipse, we have to do following changes JUnit and jmockit jars should be in the project classpath Add the test directory in your project to eclipse project build path, eclipse compiles successfully(‘Use as source folder’)....

Jenkins Basics - Continuous Integration

May 1, 2013 ·  2 min read

What is Jenkins:- Jenkins is open source tool developed for Continuous integration purpose Sun has developed Hudson for building Java projects, after Oracle acquisition, Hudson is renamed as Jenkins (forked code base and enhanced by adding different plugins) what is continuous integration:- In software development, when we developed any code, developers compile the code using maven and run the test cases for the code, if failure happens, we will fix the code....

REST API basics,tutorials

April 30, 2013 ·  2 min read

REST API examples REST is one of the popular web services in the software world. REST is abbreviated as Representational State Transfer. REST API used to develop HTTP based web services REST is similar to SOAP web services, SOAP web services can be accessed using object and methods, whereas REST can be accessed using URL with HTTP operations like GET, POST, DELETE, PUT. REST API is used to write the apis for web applications to access the services....

Junit: java unit testing framework with examples

August 24, 2012 ·  3 min read

java unit testing or junit Junit is a popular Java unit testing framework. Junit is developed to unit test the piece of code. What do you mean by unit testing? Unit testing is test code written for checking the runtime errors for each function/line of a java code. Junit can be used to regress each small change so that large application should not give errors even adding small changes Testing is a piece of code written for checking the validity of actual business logic code like a null check and comparing actual and expected values....

Basic of Cron expression with detailed sample examples

July 16, 2012 ·  2 min read

Cron Expression examples Cron expressions are fixed size certain string formatted characters to represents the particular time or set of specific interval times used in scheduler programming. Cron expressions are used in either Unix programming or any other programming languages like java. Java has a quartz framework as the scheduler to run jobs or task in a specific interval of time. In Quartz scheduler, cron expression is specified for job triggers which will be executed by quartz scheduler....