pytest-messenger icon indicating copy to clipboard operation
pytest-messenger copied to clipboard

Extract slack message config to the separate file.

Open LaserPhaser opened this issue 5 years ago • 2 comments

Configuration file for slack message/emoji must be an as separate file for easy configuring.

LaserPhaser avatar Apr 30 '19 07:04 LaserPhaser

I think this is just a matter of using parser.addini(...) instead of .addoption(...) in pytest_addoption().

lithammer avatar May 08 '19 18:05 lithammer

Not quite. I meant here that it would be a nice feature to be able to use file with --slack_config='path to file' option. In slack config file should be possible to configure the slack payload in any way. For example, some users maybe want to attach screenshots, add some buttons or something else.

LaserPhaser avatar May 09 '19 16:05 LaserPhaser