Please log in to watch this conference skillscast.
Following the behavior driven development (BDD) methodology thoroughly, one would expect 100% code coverage, since code is only written to make the tests pass. Based on this assumption Melanie and Mathias have investigated BDD-driven projects and found out that this is not the case.
As a consequence, they propose a feature to Cucumber that generates new scenarios based on uncovered code. Applying this feature continuously eventually results in fully covered implementation.
The material presented in the talk was published in M. Diepenbeck, M. Soeken, D. Große and R. Drechsler. Towards Automatic Scenario Generation from Coverage Information, AST, 2013
YOU MAY ALSO LIKE:
- Got The Perfect Agile Model? Here’s What You Should Know About Agnostic Agile (in London on 16th August 2017)
- Gojko Adzic's Impact Mapping Workshop (in London on 27th September 2017)
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 1st - 3rd November 2017)
- Agile Testing & BDD eXchange 2017 (in London on 9th - 10th November 2017)
Towards Automatic Scenario Generation Based on Uncovered Code
Melanie Diepenbeck is currently pursuing her PhD degree on "Behaviour Driven Development for System Design" at the University of Bremen in the Graduate School System Design (SyDe) and in the Group for Computer Architecture headed by Prof. Dr. Rolf Drechsler.
Mathias Soeken is working on formal verification of UML/OCL models used as specification in the design of embedded systems as well as on reversible logic and quantum computation.