The 21st of August 2015 a group of Agile testing experts came together in the second edition of the BAT-NL peer conference. The theme for this edition was “Hands-on” and all attendees had prepared at least one topic.
After a round of pitching and voting idea’s, the top two topics that stood out were an introduction to Serenity, suggested by Kishen Simbhoedatpanday and an investigation of DaSpec suggested by Johan Vink. We decided to split up in groups and do a shootout of both tools.
Here’s my report on DaSpec, decide for yourself.
As apposed to most other BDD tools DaSpec promises a lot of freedom in the way we describe our scenario’s. Combining natural language with tables. The use of markdown provides you with extra formatting possibilities and empowers version controlled collaboration on the specifications.
The different purposes are well exampled and we started out with the web interface example, which comes with an example git project. This narrowed down our possibilities a bit, as we found later, but it is a good start to capture the concept.
Later I found the entire installation was a bit wasteful, because all necessary examples of the web interface are available and fully operational in the examples section of the DaSpec website.
The main limitation of the web interface is that it allows only one spec at a time, which for a realistically sized project would be insufficient.
With a little remote guidance by Gojko, pointing us to several useful example implementations, we found that for larger projects the console runner offered more perspective, as this NPM example example points out.
We all agreed it has immediate potential when used as an educational tool, for explaining the power of Specification by Example. We plan to create a SpecbyExample tutorial with the use of DaSpec, because it so brilliantly simplifies the relation between examples, step definitions, implementation and the immediate output of the result.
I don’t know if the comparison with Serenity at this point is still relevant. Read @maaikees blogpost on Serenity. Let us know what you think!