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