Testing modern web applications

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

 

Tagged , , , .

g00glen00b

IT Consultant with a passion for JavaScript. Experienced in the Spring Framework and various JavaScript frameworks.