Posts tagged with Testing


Java

Testing your Java code structure with ArchUnit

In this tutorial I'll give an introduction to ArchUnit. This is a library that helps you with testing your Java code architecture, such as naming conventions, package structures, which classes can access others and so on.

Java

Unit testing your Spring boot applications

Testing is an important part of development, and in this tutorial I'll show you how you can unit test your Spring boot application

Java

Testing code using Spring's WebClient

Since Spring 5, RestTemplate went into maintenance mode and WebClient became the way to go. In this tutorial I'll show how you can write tests for code using WebClient.

Java

Testing your REST controllers and clients with Spring

Spring allows you to easily develop REST API's and clients. With MockMvc and MockRestServiceServer, the same easiness can be applied to your tests as well.

JavaScript

Using Jest to test your Node.js application

Jest is a testing framework developed by Facebook. In this tutorial I'll demonstrate the features of Jest while testing a small Node.js application.

JavaScript

Testing your Node.js application with tape

In this tutorial I'll discover the features of tape combined with Sinon.js while writing unit tests for a simple Node.js application.

JavaScript

E2E testing with Nightwatch.js

Today I'm also going to test an AngularJS application, but this time I will be using Nightwatch.js. While Nightwatch.js is not made specifically for AngularJS applications, you can use this framework as well.

JavaScript

E2E testing AngularJS applications with Protractor

In this tutorial we'll go into detail about end to end testing (E2E) with AngularJS and Protractor

JavaScript

Using Sinon.js while testing AngularJS applications

With Sinon.js you can easily set up stubs and spies. This can be a real benefit when testing AngularJS apps because of all the different components.

JavaScript

E2E testing your Meteor app with Cucumber, WebdriverIO and Chai

E2E testing your Meteor app is quite easy with Velocity. In this article I will be using WebdriverIO, Cucumber.js and Chai to completely test my app.