godog/internal/formatters
Tighearnán Carroll c5a88f62c2
fix(formatter): On concurrent execution, execute formatter at end of Scenario (#645)
* fix(formatter): add onflush logger only print output at end of scenario when running concurrently

* add to changelog

* fix tests

* fix scenario outline output for the Pretty formatter

* fix casing for linter

* add coverage for new storage function

* relate suite back to where it was originally

* better type assertion on flush log

* var name for asserted formatter that doesn't clash with stdlib's fmt

* add coverage to summary

* only defer flush func when running concurrently

* much more concise way of deferring the flush

---------

Co-authored-by: Viacheslav Poturaev <vearutop@gmail.com>
2024-11-08 17:05:40 +01:00
..
formatter-tests Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_base.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_base_test.go Improve ErrSkip handling, add test for Summary and operations order (#584) 2023-10-29 22:59:14 +01:00
fmt_color_tag_test.go Use staticcheck GitHub Action (#563) 2023-06-06 16:52:06 +02:00
fmt_cucumber.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_events.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_flushwrap.go fix(formatter): On concurrent execution, execute formatter at end of Scenario (#645) 2024-11-08 17:05:40 +01:00
fmt_flushwrap_test.go fix(formatter): On concurrent execution, execute formatter at end of Scenario (#645) 2024-11-08 17:05:40 +01:00
fmt_junit.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_multi.go ambiguous step def detection akin to cucumber jvm (#636) 2024-07-01 10:28:39 +01:00
fmt_multi_test.go fix(formatter): On concurrent execution, execute formatter at end of Scenario (#645) 2024-11-08 17:05:40 +01:00
fmt_output_test.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
fmt_pretty.go fix(formatter): On concurrent execution, execute formatter at end of Scenario (#645) 2024-11-08 17:05:40 +01:00
fmt_progress.go Ambiguous step detection - add support to all formatters (#648) 2024-10-16 15:41:47 +01:00
undefined_snippets_gen.go Use staticcheck GitHub Action (#563) 2023-06-06 16:52:06 +02:00
utils_test.go Created internal packages for formatters, storage and models 2020-07-02 08:51:31 +02:00