3. softwaretester.blog | Benjamin Bischoff
About me
• Benjamin Bischoff
• Test Automation Engineer @ trivago N.V.
• 23 years in IT
• Last 7 years in testing
4. softwaretester.blog | Benjamin Bischoff
trivago in 2016
• Central test automation team
• Reorganize and align all
automated testing (mainly e2e)
• Started a new internal
Selenium/Cucumber framework
5. softwaretester.blog | Benjamin Bischoff
Test Frameworks & Pipelines
• Adding features
• Increase resilience
• Working with/around SUT
• Documentation
6. softwaretester.blog | Benjamin Bischoff
Why Cucumber?
• Replaced old JBehave tries
• Easy to implement
• Lots of documentation
• Likable community
7. softwaretester.blog | Benjamin Bischoff
Reporting in 2016
• We used cucumber-reporting first
• Better than no reports
• Too much irrelevant information
9. softwaretester.blog | Benjamin Bischoff
How it started
• Lots of experience with JSF
• Wanted to try Apache Freemarker
• Cucumber JSON, hurray!
• I really like Maven
10. softwaretester.blog | Benjamin Bischoff
–Me to myself
„Just because you have all the data,
you don’t have to show all the data.“
11. softwaretester.blog | Benjamin Bischoff
What is Cluecumber?
• Java library or Maven plugin for Cucumber
JSON reporting
• Focus on clear and concise information for
testers
• First open-source release in November
2017
12. softwaretester.blog | Benjamin Bischoff
Why JSON and not messages?
• It is easy to parse
• It is ready at the end of a run
• Works with other frameworks
13. softwaretester.blog | Benjamin Bischoff
What’s inside?
Parse, aggregate and
pre-process
Cucumber JSON files
and strip out
attachments
Templating engine for
Java to generate
static documents from
the parsed Cucumber
JSON
14. softwaretester.blog | Benjamin Bischoff
Flow
Deserialize Cucumber JSON
fi
les
Strip out attachments
Combine into one enriched data source
Process and copy JS, CSS & attachments
Generate
fi
nal report using Freemarker
17. softwaretester.blog | Benjamin Bischoff
Current state
• Supported by trivago
• Available on Maven Central
• 66 releases
• 222 stars
• 206 issues closed
18. softwaretester.blog | Benjamin Bischoff
What I learned from open source
• Dealing with people
• Finding the balance for feature requests
• Code Craftsmanship & Clean code
• Test coverage
• Documentation
19. softwaretester.blog | Benjamin Bischoff
–Me to myself
“Make it work, then make it pretty did not
work for me in an OSS context”
20. softwaretester.blog | Benjamin Bischoff
Future plans
• Add more features
• Overhaul the options
• Make it leaner and more memory
efficient
• Keep it JSON if possible