What do monkey testing and model-based testing have in common?
A few weeks ago I had the pleasure to talk about monkey testing at Software Testing Day 2012, Tampere, Finland. It was a very nice event with a couple of hundred participants interested in software testing.
The point that I wanted to share with the audience is about the relationship between monkey testing and model-based testing. They can be seen as opposite ends of the spectrum. While a monkey randomly bangs buttons, it is able to "see", a model-based test generator makes cunning plans about how it will test the system, without seeing a thing.
I believe it's a good idea to open one's mind and think about what you can do when you're not restricted to the either end of this spectrum. That is, you can give the monkey some understanding of what certain buttons do. Or the otherway around, you can allow the model-based test generator to see what's on display and take it into account in planning.
In the slides (link below), I demonstrated how to do this with fMBT using AAL/Python.