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