Skip to content

Genevjov/cucmber-report-notification-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucmber-report-notification-plugin

Report notification plugin for Cucumber framework

Property structure for reporting:

 reportData:
    notificationType: "HTML"
    reportFileType: "changeme"
    reportFilePath: "changeme"
slack:
  webHook: "changeme"
email:
  receivers:
    - "[email protected]"
    - "[email protected]"
  sendFrom: "[email protected]"
  subject: "test-report"
  smtpMailProperties:
    smtpHost: "changeme.com"
    smtpPort: "changeme"
    login: "[email protected]"
    password: "changeme"
Property name Meaning
reportData Storage for notification notificationType, Cucumber report notificationType, path to report
reportData.notificationType Notification content notificationType
reportData.reportFileType Type of Cucmber report (HTML/JSON)
reportData.reportFilePath Path to Cucmber report
slack [REPORT DESTINATION] Wrapper for Slack intgreation properties storing
slack.webHook Slack web hook transfer data
email [REPORT DESTINATION] Wrapper for email properties
email.receivers List of emails for sending test report notification
email.sendFrom SMTP send from parameter to dispaly in email
email.subject Email subject
email.smtpMailProperties Storage of SMTP configuration propertries
email.smtpMailProperties.smtpHost SMTP host
email.smtpMailProperties.smtpPort SMTP port
email.smtpMailProperties.login SMTP login
email.smtpMailProperties.password SMTP password

Property must be stored by path:

  • src/test/resources/report-notification.yml

Plugin activation:

add this line to plugin definition annotation "json:target/cucumber-reports/Cucumber.json", "io.genevjov.notifier.plugin.ReportNotificationPlugin"

About

Report notification plugin for Cucumber framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages