BDD using Jasmine and Karma
With any non-trivial bit of code it is useful to be able to test the
parts in isolation before trying to assemble them in to the final
program. In the Python world you use a standard library called
unittest
for this (other testing libraries are available). In
JavaScript there are many competing test frameworks, all with daft
names.
Read more