Check out my book "Hands-On RESTful Web Services with ASP.NET Core" available on Amazon or Packt. Source code available on GitHub

2 mins

Javascript testing using WallabyJs

javascript testing using wallabyjs

Javascript testing using WallabyJs Wallaby.js is insanely fast, because it only executes tests affected by your code changes and runs your tests in parallel. Wallaby.js is a test runner for JavaScript, it can be integrated in most common code editors/IDE and it provides a productivity boost whether you are doing TDD and BDD. Wallaby.js is not free,  but ...

How TDD process works

TDD process image

TDD process  Automated testing Automated testing provides a solution to the manual testing process. Instead of filling out that form one more time and hitting submit to see if the client-side validations trigger as expected, we can instruct software to perform this test for us. Test-Driven JavaScript Development by Johansen Christian The advantages are: run tests ...

3 mins

TDD using Mocha and Karma

TDD using Mocha and Karma

TDD using Mocha and Karma The following example shows how to setup a TDD enviroment using Mocha and Karma. Mocha is a test framework running on browser or node.js, Karma is a test runner powered by the AngularJs team that allows you to run your test on multiple browsers. Test libraries overview The project combines ...