Imagination is more important than knowledge. [A. Einstein]

Cucumber

I have been repeating this statement over and over on the Cucumber forum, but apparently with no good result. To me this is a simple statement and I fail to understand what's difficult to understand in its simplicity: Cucumber (JVM, Ruby, C, the flavour doesn't matter) is not a testing framework. I'll try to further explain … Continue reading Cucumber is NOT a testing framework!

Experienced developers, including me, tend to prefer generalized code over highly specialized one, but they usually love very simple and highly readable code much more and the two don't always pair nicely. Disclaimer I'll use Java and Cucumber to make my point clear (I hope) but what I'm going to assert is not strictly related … Continue reading Generalization pitfalls

If you are using Selenium WebDriver you know it is a great tool for automated testing: no doubt. After a while though you'll end up running your tests in debug mode and dig into code to find out the reason for the very common NoSuchElementException which, surprisingly, tries to communicate the element you were looking … Continue reading Selenium and the holy search for lost element

I was trying to improve our automated test suite and I thought that it could be useful to capture a screenshot of the browser whenever a test fails. The current Cucumber JVM implementation highly simplifies this task, but the task is not achieved the way I thought, so this is the reason for this post. … Continue reading Embedding screenshots in Cucumber JVM

I've been a fan of TDD since I discovered it a few years ago. Thankfully to my friend and colleague Augusto a few months ago I've discovered the beauty of BDD and ATDD: I got so fascinated by this practice I started an Open Source project for an Eclipse plugin featuring a rich editor for Cucumber … Continue reading A few Cucumber tricks