Using Sinon.js while testing AngularJS applications

I’ve already done quite some tutorials about testing JavaScript applications, recently about testing a Meteor application with Jasmine and Sinon.js. Sinon.js is not only useful to Meteor applications though, and in this article I’ll show you how helpful it can be while testing AngularJS applications.

Setting up AngularJS applications with Yeoman

Where are the good ol’ days when everyone used 1 JavaScript library at most (usually jQuery). With modern applications you need a modern approach, setting up such a project can be hard sometimes, but why re-invent the wheel if there are probably thousands of people who need the same thing? Yeoman helps you to setup your […]

E2E testing your Meteor app with Cucumber, WebdriverIO and Chai

In my previous tutorial I mentioned how to write unit tests for Meteor using Jasmine and Sinon.js on the Velocity platform. In this tutorial I will write some end to end (E2E) tests for the same application, but with some different frameworks. I will still be using Velocity, but as I mentioned in my previous […]

Unit testing Meteor applications with Velocity, Jasmine and Sinon.js

In my previous tutorial I explained some of the basic features of Meteor, a full stack JavaScript platform. In this tutorial I will go more in depth about testing a Meteor application, by testing the chat application we wrote in the previous tutorial.
In this first part I’ll show you how to unit test your Meteor application using the Velocity platform.

Writing a chat application with Meteor

A few days ago I gave an introduction to Meteor for students of UCLL starting of with an empty project and building a complete chat application in the process. The application we’re going to build will look like this:

Creating a Slack bot with Bluemix, Node-RED and Watson

If you’re just like me and you’re over 20 years, you might have spent several years on IRC and you probably interacted with hundreds of bots over the years. You may have written your own bot, just like I did. Well, with todays frameworks, API’s and tools it’s a lot easier to write such a […]

Validating the input of your REST API with Spring

In the next few weeks I will be writing a small web application and in these articles I’m going to explain certain aspects of it. Previous time I mentioned how you could secure your REST API (partially), and this time I will be talking about how to validate the input you send to the REST […]

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 […]

Testing your Spring Boot application with Selenium

The past couple of weeks I wrote several kind of tests for my Spring Boot application, we started of with some integration tests for our REST service, and today I’m writing the last part of the series with some functional/integration tests for the application using Selenium.