Matija Balantič (2013) Test driven software development with Java EE. EngD thesis.
Abstract
Test driven development (TDD) is a technique with the main idea of writing a failing test first, which is then made to pass by implementing a particular snippet of code. Development is done in short iterations which consist of three basic steps, namely test-code-refactor. The thesis shows the development of Java EE web applications FerApp using test driven development and continuous integration. The application development was driven with unit tests and complemented with integration and functional tests. Integration and functional tests tested that the application works properly even within the application server and that different parts of the application are properly wired with each other. The technique of continuous integration allows running all types of tests on a regular basis. The task of running all the tests would otherwise take too much time for a programmer to do it by himself. We integrated our continuous integration server with quality assurance tool Sonar. Sonar is run every time an automated build was triggered which gives a constant feedback about the quality of the project. This way the work concludes the whole cycle of development process of business application with Java EE and presents a way to create a strong foundation to facilitate the upgrading and maintenance of the application in the future.
Actions (login required)