github.com/maps90/godog@v0.7.5-0.20170923143419-0093943021d4/CHANGELOG.md (about)

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