github.com/raarceoml/godog@v0.7.9/CHANGELOG.md (about) 1 # Change LOG 2 3 **2018-11-16** 4 - added formatter output test suite, currently mainly pretty format 5 tested. 6 - these tests, helped to identify some output format issues. 7 8 **2018-11-12** 9 - proper go module support added for `godog` command build. 10 - added build tests. 11 12 **2018-10-27** 13 - support go1.11 new compiler and linker changes for **godog** command. 14 - support go1.11 modules and `go mod` builds. 15 - `BindFlags` now has a prefix option for flags, so that `go test` command 16 can avoid flag name collisions. 17 - `BindFlags` respect default options provided for binding, so that it 18 does not override predefined options when flags are bind, see #144. 19 - Minor patch to support tag filters on example tables for 20 ScenarioOutline. 21 - Minor patch for pretty printer, when scenario has no steps, comment 22 possition computation was in panic. 23 24 **2018-03-04** 25 - support go1.10 new compiler and linker changes for **godog** command. 26 27 **2017-08-31** 28 - added **BeforeFeature** and **AfterFeature** hooks. 29 - failed multistep error is now prepended with a parent step text in order 30 to determine failed nested step. 31 - pretty format now removes the step definition location package name in 32 comment next to step if the step definition matches tested package. If 33 step definition is imported from other package, full package name will 34 be printed. 35 36 **2017-05-04** 37 - added **--strict** option in order to fail suite when there are pending 38 or undefined steps. By default, suite passes and treats pending or 39 undefined steps as TODOs. 40 41 **2017-04-29** - **v0.7.0** 42 - added support for nested steps. From now on, it is possible to return 43 **godog.Steps** instead of an **error** in the step definition func. 44 This change introduced few minor changes in **Formatter** interface. Be 45 sure to adapt the changes if you have custom formatters. 46 47 **2017-04-27** 48 - added an option to randomize scenario execution order, so we could 49 ensure that scenarios do not depend on global state. 50 - godog was manually sorting feature files by name. Now it just runs them 51 in given order, you may sort them anyway you like. For example `godog 52 $(find . -name '*.feature' | sort)` 53 54 **2016-10-30** - **v0.6.0** 55 - added experimental **events** format, this might be used for unified 56 cucumber formats. But should be not adapted widely, since it is highly 57 possible that specification will change. 58 - added **RunWithOptions** method which allows to easily run godog from 59 **TestMain** without needing to simulate flag arguments. These options 60 now allows to configure output writer. 61 - added flag **-o, --output=runner.binary** which only compiles the test 62 runner executable, but does not execute it. 63 - **FlagSet** initialization now takes io.Writer as output for help text 64 output. It was not showing nice colors on windows before. 65 **--no-colors** option only applies to test run output. 66 67 **2016-06-14** - **v0.5.0** 68 - godog now uses **go tool compile** and **go tool link** to support 69 vendor directory dependencies. It also compiles test executable the same 70 way as standard **go test** utility. With this change, only go 71 versions from **1.5** are now supported. 72 73 **2016-06-01** 74 - parse flags in main command, to show version and help without needing 75 to compile test package and buildable go sources. 76 77 **2016-05-28** 78 - show nicely formatted called step func name and file path 79 80 **2016-05-26** 81 - pack gherkin dependency in a subpackage to prevent compatibility 82 conflicts in the future. If recently upgraded, probably you will need to 83 reference gherkin as `github.com/DATA-DOG/godog/gherkin` instead. 84 85 **2016-05-25** 86 - refactored test suite build tooling in order to use standard **go test** 87 tool. Which allows to compile package with godog runner script in **go** 88 idiomatic way. It also supports all build environment options as usual. 89 - **godog.Run** now returns an **int** exit status. It was not returning 90 anything before, so there is no compatibility breaks. 91 92 **2016-03-04** 93 - added **junit** compatible output formatter, which prints **xml** 94 results to **os.Stdout** 95 - fixed #14 which skipped printing background steps when there was 96 scenario outline in feature. 97 98 **2015-07-03** 99 - changed **godog.Suite** from interface to struct. Context registration should be updated accordingly. The reason 100 for change: since it exports the same methods and there is no need to mock a function in tests, there is no 101 obvious reason to keep an interface. 102 - in order to support running suite concurrently, needed to refactor an entry point of application. The **Run** method 103 now is a func of godog package which initializes and run the suite (or more suites). Method **New** is removed. This 104 change made godog a little cleaner. 105 - renamed **RegisterFormatter** func to **Format** to be more consistent. 106