by Carlos Ble | Nov 24, 2013 | JavaScript, Test Driven Development, Testing
Many frameworks use the word “mock” for what in reality are “spies”. But that’s OK, the work “mock” in English covers actually all the possible test double types… However according to G. Meszaros, a mock object is a...
by Carlos Ble | Oct 30, 2013 | Agile, JavaScript, Retrospectivas, Test Driven Development
Wow, AgileTestingDays 2013 it’s being awesome! I gave my talk today, a practical “live coding” session. Last week I created a real-time application to communicate with the audience so that when I am speaking they can tell me if they are understanding...
by Carlos Ble | Oct 21, 2013 | Test Driven Development, Testing
No long ago in the Spanish TDD mailing list, some friends said they were struggling with test doubles. A typical question is how to use them to design collaboration a la test-first. Test doubles are something people find hard to understand in my TDD training courses....
by Carlos Ble | Oct 11, 2013 | JavaScript, pyDoubles, Test Driven Development, Testing
There are several good frameworks out there to create test doubles with JavaScript. Jasmine and Sinon provide test spies and stubs. JsMockito looks good too. However, creating your own API for test stubs is very easy. I’ve created mine as an exercise....
by Carlos Ble | Sep 24, 2013 | JavaScript, Retrospectivas, Test Driven Development
Talking at SkillsMatter Last week was very intense indeed. I gave my first talk at Skills Matter (video here). BDD for RIAs with JavaScript – Skills Matter from Carlos Ble I must say I am not content with my talk because my English was rubbish but on the other...
by Carlos Ble | Aug 11, 2013 | JavaScript, Test Driven Development
Rich internet applications bring a powerful user experience. But in order to achieve that, they must be written totally different from traditional webs. The paradigm is totally different and so the architecture. There is no “server side” as such. In some...