Concepts of maintainable unit tests

Maintainable unit tests

The following article will explain some concepts about unit tests and some good practices about write maintainable unit tests. Although, the example are written in C#, the article concepts and topic are language independent. I have previously write about unit testing in following articles: Unit testing ASP.NET Core Identity Inversion of control and Dependency injection ...

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 ...