godog/_examples/custom-formatter
Viacheslav Poturaev 95278dfd39
Automate binary releases (#437)
* Add release assets automation

* Use single module with local replace for examples

* Update CHANGELOG.md

* Allow expected failure for custom formatter example test

* Set version value with ldflags

* Restore artifacts cleanup
2022-01-05 23:00:29 +01:00
..
features Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
imgs Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
emoji.go Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
godogs.go Export internal formatters (#372) 2021-08-10 11:27:17 +02:00
godogs_test.go Automate binary releases (#437) 2022-01-05 23:00:29 +01:00
README.md Export internal formatters (#372) 2021-08-10 11:27:17 +02:00

Custom Formatter Example

This example custom formatter demonstrates some ways to build and use custom formatters with godog

Emoji Progress

The first example is the Emoji formatter, built on top of the Progress formatter that is included with godog.

To run it:

$ godog -f emoji

Which would output step progress as emojis rather than text: