Selenium vs. ZK
Testing ZK applications using Selenium can be a drag. Selenium offers a lot of tool to test traditional request-response cycle applications. But it relies heavily on stable element IDs and submitting...
View ArticleJazoon 2013 – Spock: boldly go where no test has gone before
If you look at your tests, do you see a lot of repetitive patterns? Or are you looking for a way to express your intent more easily? Then, Spock might be for you. The talk “Spock: boldly go where no...
View ArticleAgile For Prudes
The article “WORKING IN A WANNABE-AGILE TEAM” points out a common problem in agile: It really exposes you and most people simply are prude. Unlike many people want to make you believe, they are aware...
View ArticleEclipse Finance Day 2014: Automating user interface tests with...
The last two talks were about testing. “Automating user interface tests with behavior-driven development (BDD)” by Jose Badeau and Dietmar Stoll used an Xtext-based DSL to connect requirements,...
View ArticleEclipse Finance Day 2014: Testing business applications with RCPTT
RCP Testing Tool (RCPTT) is an Open Source tool for UI testing of Eclipse-based applications. During the demo by Ivan Inozemtsev, I got the impression that they thought of everything: There is a...
View ArticleSoCraTes Day: Testing the Impossible
I’m back from SoCraTes Day Switzerland where I help a Code&Hack session called “Testing the Impossible”. The session is based on this Mercurial repository de.pdark.testing. Transcript Space Shuttle...
View ArticleReplacing Integration With Unit Tests
Google asks to “Just Say No to More End-to-End Tests” – just go and read it. The suggestion in the document is to have a testing pyramid. A few (slow, expensive, dangerous) End-to-End (E2E) tests, more...
View ArticleTNBT – Creating Tests from the Debugger
From my series “The Next Best Thing“: Often, you will find yourself in a debugger, trying to follow some insanely complicated code to find the root cause of a bug. I would like to see a button in my...
View ArticleGood and Bad Tests
How do you distinguish good from bad tests in your code? Check these criteria. Good tests Nail down expectations Monitor assumptions Help to locate the cause of a failure Document usage patterns Allow...
View ArticleChained Unit Tests – CUT
The CUT approach allows to test logically related parts or to gradually replace integration tests with pure unit tests. Let’s start with the usual app: There is a backend server with data and a...
View Article