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:
- Greg Young's CQRS, Domain Events, Event Sourcing and how to apply DDD (in Stockholm on 22nd - 24th May 2017)
- Fast Track to RESTful Microservices (in London on 24th - 26th May 2017)
- µCon 2017: The Microservices Conference (in London on 6th - 7th November 2017)
- Serverless Architecture with Azure Functions with Christos Matskas! (in London on 29th 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.