The worst part about working on sites that use AJAX is having to use the XMLHttpRequest API, unfortunately this isn’t always easy as we are using it for things it wasn’t really made for.
So the focus of this blog is very much me making notes on how to do cool stuff so others can also learn from what I have learnt. Today I want to write a piece about something that is close to my heart which is CDD, also known as cake driven development.
Recently I have been spending my spare time working on rewriting SimpleStateManager. The project already had a pretty robust series of unit tests however I wanted to improve this further by adding a few more. In addition to adding new tests, I wanted to improve how the tests were being run.