Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты

739 views

Published on

В докладе я хочу поделиться личным опытом написания кастомного репортера для JBehave. Покажу причины решения написать свой репортер и пути решения проблемы. В конце я покажу как я имплементировал связку Allure report и знаменитого BDD фреймворка для Java - JBehave.

Published in: Education
  • Be the first to comment

  • Be the first to like this

QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты

  1. 1. 1CONFIDENTIAL Pretty Jbehave Reports Sergey Pirogov OCTOBER 31, 2015
  2. 2. 2CONFIDENTIAL ABOUT ME Software Test Automation Engineer Database developer Main skills: Java JBehave Jenkins Blog: automation-remarks.com
  3. 3. 3CONFIDENTIAL TEST FRAMEWORK • Framework is written in Java • Tests are written using BDD approach
  4. 4. 4CONFIDENTIAL BDD APPROACH
  5. 5. 5CONFIDENTIAL PROBLEM • JBehave generates report in XML,TXT,HTML formats • Reports doesn’t give info about tested application • Reports are hard customized Report example:
  6. 6. 6CONFIDENTIAL SOLUTION
  7. 7. 7CONFIDENTIAL JBEHAVE REPORTER • Written in Groovy • Generates HTML report based on JBehave XML report reporter –g <jbehaveFolder> -d <pathToReport> Report example
  8. 8. 8CONFIDENTIAL ALLURE REPORTS Есть же Allure Yandex !!!
  9. 9. 9CONFIDENTIAL ALLURE INTEGRATION • Allure works with Adapters • Allure didn’t have adapter for JBehave
  10. 10. 10CONFIDENTIAL SOLUTION
  11. 11. 11CONFIDENTIAL ALLURE ADAPTER IMPLEMENTATION
  12. 12. 12CONFIDENTIAL ALLURE REPORTER INTEGRATION
  13. 13. 13CONFIDENTIAL ALLURE ADAPTER PROS Report example: • Easy to integrate in existing Test Framework • Allows to generate standard reports • Build tools integration
  14. 14. 14CONFIDENTIAL Thank you! Questions?

×