guilhebl

Philosophical writings about programming and technology

Unit Test generation tool

Automatic Unit test generation There are some tools for generating unit tests based on source files. Some tools come handy with an error revealing test mechanism, so it basically generates error revealing tests on top...
Read more...
13 February 2017

Java Test - code coverage using Jacoco

Java code coverage In Java there are a wide variety of code coverage tools out there. One of the most popular is jacoco which provides an easy setup if you're using maven or gradle. This...
Read more...
05 February 2017

Search Prod - Search for almost any product

Introducing Search Prod - the Product searching website. Search Prod was built using AngularJS and Java running on Linux. A website for searching products from the main online retailers of the world all in one...
Read more...
02 December 2016

Angular 2

Angular 2 Finally Angular2 has been released under beta version. It carries steep changes compared to version 1. Check Angular's version 2 documentation. Another reason for adopting angular 2 is performance. Many improvements were done...
Read more...
16 April 2016

Full AngularJS Gulp seed

Full AngularJS + Gulp Seed Whenever you're about to start a new AngularJS application, you think about where to begin from and what infra-structure to use in terms of testing, build automation, etc. That's when...
Read more...
02 December 2015

Unit testing with angularjs, requirejs, jquery, karma and jasmine.

Unit testing with angular requirejs karma and jasmine In this example we're going to create a sample test for the an application called "FarmApp", which should ressemble an imaginary farm. Here we are testing our...
Read more...
19 July 2015

Building an app based on angularjs, requirejs, jquery, bootstrap.

Prerequisites To start building the app you need to install: Node.js npm Farm App In this example we're going to create a sample app called "FarmApp", which should ressemble an imaginary farm. project directory tree...
Read more...
13 July 2015

NGINX port redirect example

Sample port redirect using NGINX A common scenario when using a separate Web Server from an Application Server is port redirect. using NGINX as a web application server and an application server it is possible...
Read more...
15 April 2015