Testing modern web applications

March 9th, 2015 | 2 min read | Spring, Spring boot, Testing, Web

If you’re a web developer like me, then you probably know that writing tests for an application means that you have to test various parts of the application. Modern web architectures usually contain the necessary front-end logic, a REST back-end and some data persistence. Having to test your application means that you want to cover most of these, if not all.
So, a while back I wrote a Spring Boot application, quite a simple one though, but it perfectly shows you how this modern web architecture works. The last couple of weeks I spent some time trying to test each aspect of the application and I wrote some articles about each and every aspect. If you’re interested in how to test your application, then here’s a small overview:

  1. Writing unit tests using AssertJ and Mockito
  2. Integrating Jasmine (JavaScript) tests into your Maven build cycle
  3. Testing your Spring Data Repository with DBUnit
  4. Writing integration tests for your REST API using REST-Assured
  5. Writing functional tests using Selenium/FluentLenium


Back to tutorialsContact me on TwitterDiscuss on Twitter

Profile picture

Dimitri "g00glen00b" Mestdagh is a consultant at Cronos and tech lead at Aquafin. Usually you can find him trying out new libraries and technologies. Loves both Java and JavaScript.