injinia
  • Blog
  • services
  • contact
  • links

Send cucumber stats/info to slack?

13/7/2016

0 Comments

 
Why not?

Adding the module


Since this is support code, put this in the support folder.
​features/support/your_project.rb

    
​Usage

You can now use it like this from anywhere in your test - YourProject::notify_slack("message"). I use it to post info about things that the test is doing, finding, or creating that may be of use for other testing going on, or for manual inspection.

You can also have reporting going live as scenarios are finished using this hook.
features/support/hooks.rb

    
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Hi, my name is Clancey and I am a quality advocate, automator, and toolsmith.

    I help companies with quality. To do this I end up automating a lot of things, functional testing being one of them.

    Clancey McNeal CSTM
    Getting started with ruby automation series
    1. Required Installs
    2. Tools
    3. Project Structure
    4. Page Objects

    Archives

    June 2021
    March 2020
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    February 2014
    December 2013

    Categories

    All
    Cucumber
    Getting Started
    Page Objects
    Rspec
    Ruby
    Setup
    Slack
    Sublime
    Tools
    Web Test Automation

    RSS Feed

Copyright injinia, images copyright Adachi Photography