por 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....
por 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....
por Carlos Ble | Oct 10, 2013 | JavaScript, Testing
Next week, I’ll be taking part in the London Tester Gathering Workshops at SkillsMatter. I’ll be giving a 4 hours workshop on JavaScript aimed at software testers on Thursday. Inspired by the workshop, I am working on a JavaScript manual for testers...
por 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...
por Carlos Ble | Sep 11, 2013 | Clean code
“Feature envy” is a typical code smell in Object Oriented Programming. It can be appreciated when code talking to an object accesses directly to that object’s fields or properties, from the outside, breaking the encapsulation. // feature envy:...
por Carlos Ble | Sep 5, 2013 | Agile, DDD
A version control system should be easy to use, at least when you just need to perform basic tasks. This is why I like Mercurial. It’s powerful yet easy. And TortoiseHG is an excellent client app. It’s got the same GUI in Linux, MacOS and Windows. This is...
por Carlos Ble | Aug 20, 2013 | Screencasts
I am recording some screencasts for a TDD training. I will tell you more about that later. For now, let me write how am I doing it for me to remember in the future. For recording I am using Kazam, adding the ppa repository to my Ubuntu (apt-get install kazam). The...
por Carlos Ble | Aug 18, 2013 | Plumbing, Uncategorized
I’ve bought a new keyboard to use it with my laptop when I travel and also for coding dojos. It’s small, cordless and with US layout which is what I use for coding. Very handy. It’s a Targus AKB33US. But it hasn’t been easy to configure on my...
por 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...
por Carlos Ble | Jul 9, 2013 | JavaScript
The 2nd edition of the SpainJS conference was held in Madrid last week. On Thursday there were workshops the whole day. Talks and networking happened on Friday and Saturday. I attended to the workshops and learned a lot in the first one, about memory leaks hunting...