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:
- Jenny Martin and Pete Buckney's BDD From Start to Finish - Successful Delivery through Continuous Collaboration (in London on 26th - 28th February 2018)
- Gojko Adzic's Specification by Example: From User Stories to Acceptance Tests (in London on 1st - 2nd March 2018)
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.