Archive · Tags · Article feed · Comment feed · Blogroll

Automating Integration Testing of Spring Boot Applications on Travis CI and Sauce Labs

2016-12-01 – Comments

Writing Unit Tests often is not enough to make sure your software is working correctly. In order to make sure your components are integrated correctly, writing automated Integration Tests will help you accomplish that goal. Unfortunately, setting up a project for automated integration testing is not straight forward. In this article I’ll show how to set up a Spring Boot web application with Maven that automatically runs on Travis CI and connects to Selenium WebDrivers running on Sauce Labs for testing with real browsers. This is done step-by-step so hopefully it will be easy for you to follow along and set up integration tests for your own Spring Boot project.

Prerequisites

You’re going to need accounts on GitHub, Travis CI and Sauce Labs to follow the instructions in this article. All of these services are entirely free for open source projects.

Read on …

Fast Front End Development Cycle with Spring Boot

2016-10-07 – Comments

Spring Boot makes developing microservices a breeze. It’s easy to get to speed without the need for much configuration. However, it can be quite annoying to compile and restart the program every time you change a component. To overcome this drawback, the Spring Boot documentation includes a how-to guide about configuring hot swapping such as static web resources, templates and Java classes while the server keeps running. A big part of the solution is to use the developer tools, which provide some helpful settings that improve the overall development experience.

When it comes to front end development, it can be quite annoying to have to manually hit “Make Project” every time a file changes. Especially when running a separate build tool for front end components like Webpack even IntelliJ’s setting “Make project automatically” won’t always update the generated resources on the server in time.

Read on …

How to Set Up Code Coverage for a Java Project using Gradle, Travis, JaCoCo and Codecov

2015-07-23 – Comments

The code coverage of a project’s test suite can be a useful measure for finding out about the quality of the project. There are several tools for Java that can calculate the code coverage, for example SonarQube and JaCoCo.

During my recent work on property-providers, I found out how to give users a quick overview of the test coverage of the code using Codecov. It is not well documented for projects that don’t use Maven, so here I present the complete setup that brings the code coverage badge to the GitHub page of the project.

Read on …

isso

2014-11-13 – Comments

Okay. Disqus nervt. Darum habe ich mir Ersatz gesucht und isso entdeckt.

isso („ich schrei sonst“) ist ein kleines Python-Programm, das Disqus ersetzen soll. Es wird lokal aufgesetzt und kann, wenn es einmal läuft, ähnlich wie Disqus per JavaScript in jede HTML-Seite eingebunden werden.

Read on …

FontAwesome-Dateigröße reduzieren

2014-04-11 – Comments

Seit heute habe ich hier ein paar Pictogramme von FontAwesome im Einsatz. Mich hat aber die initiale Download-Größe von rund 29 kByte für das WOFF-File gestört. Die anderen Dateien bewegen sich ebenfalls in diesem Rahmen, werden aber in den meisten Browsern nicht gebraucht. Wer braucht schon ein Arsenal von 369 Icons (Tendenz steigend) für sein Nullachtfünfzehn-Blog?

Also habe ich FontForge angeworfen und alle Icons entfernt, die ich nicht benötige. Übrig geblieben sind ganze drei Icons. Mit FontForge lassen sich außerdem die wichtigen Dateiformate exportieren – mit Außnahme von Embedded Open-Type. Hierfür habe ich kurzerhand den OTF-zu-EOT-Konverter verwendet.

Read on …

How to build Tesseract 3.03 with Visual Studio 2013

2014-04-10 – Comments


This article has been translated to Korean.


Previously I wrote about how to compile Tesseract OCR using Cygwin. While this is nice if you want to compile Tesseract for your own system where you can install Cygwin on your own, compiling with Visual Studio is better if you intend to distribute the compiled package so users don’t have to install Cygwin.

Read on …

Gittip

2014-04-03 – Comments

Heute habe ich mein erstes Trinkgeld per Gittip bekommen. Wie witzig ist das denn?

Wenn ich der Seite glauben mag, bekomme ich ab sofort jede Woche 3 Dollar dafür, dass ich Open Source-Projekte auf Github veröffentlicht habe, die offenbar jemand brauchen kann.

Read on …

How to build Tesseract on Cygwin

2014-02-20 – Comments

Tesseract is the most accurate and most adaptable open source OCR engine I know of.

For my master thesis, I needed to be able to change the inner workings of Tesseract. That’s why I had to compile it.

Read on …