- Support for Elixir 1.8 thanks to @ejscunha [#109]
None
None
- Interpolation of placeholders in table keys thanks to @kiurchv [#105]
None
None
- Support & test against elixir 1.7 and otp 21
None
None
None
- Fix argument passing on the CLI so that --suite is used. Thanks to @bwhite-mdsol [#101]
None
- Decouple from exunit and allow choice of assertion libraries. Thanks to @marnen [#96]
None
None
None
- Placeholders are now interpolated in tables. Thanks to @marnen [#95]
- Placeholder interpolation might break tables that rely on < and > characters.
- Add json formatter for output. Thanks to @leifg [#93]
None
None
- Features now have the filename available in the struct. Thanks to @leifg [#90]
- Elixir 1.5 formally tested. Thanks to @leifg [#92]
- Deprecation warnings removed.
- Whitebread now requires elixir >= 1.2. Anyone already running this or higher will be unaffected.
- Better structure for outputting results. Thanks to @dzol/@findmypast [#83]
- Use external Gherkin library. Shared with the https://github.com/cabbage-ex project.
none
- The way custom output is configured has changed. Previously a config key
outputer
was expected to give a module implementing the output protocol. This has now been replaced with an event driven model and the keyoutputers
is now expected see #83 for details. This detail was not previously part of the official public interface.
- Roles are now parsed. So any feature with
As a Person
in the description can be filtered using it. See #54 for details. - In async mode scenerios can now timeout. The scenario_timeouts macro is can be used to specifiy a function which generates custom timeouts. See #57.
- The finalize functions are now given the success (or failure) status. Thanks to @mgwidmann.[#75]
suite
can now be specified on the command line to filter to run a single suite from the config. [#77]- HTML Output for White Bread now available thanks to @Dzol (and @mentels for reviewing) [#81]
- Run the scenario starting state for outlines just as for simple scenarios. Thanks to @marnen. [#73]
- Long running scenerio steps now longer cause undefined failures in aysnc mode see [#52].
- Elixir 1.0 no longer supported due to changes in #57. Elixir 1.1 and above is needed.
- The context behaviour is extended to require
callback get_scenario_timeout(Feature.t, Scenario.t) :: number
any contexts notuse
ingWhiteBread.Context
will need to add the function. - The *_starting_state and *_finalize functions in the context behaviour have been standardised so a pair each for feature and scenario.
tags
andcontext
are no longer supported on the command line. Tags will be reintroduced in a later release. Context will not as everything will now require a suite configuration. [#77]subcontext
macro renamed toimport_steps_from
to make intent clearer.
none
- Scenario outlines without any examples now fail. This is less surprising than the previous passing result (#65).
none
- Adds details of assertion errors to output. Thanks to @raycheung via #60.
none
none
- Adds the ability to run all features and scenarios within a suite asynchronously by adding
run_async: true
. - Allows extra config to be added to each suite generated by
context_per_feature
by adding a list of key-values toextra
.
none
none
- The runner protocol has been removed as this added complexity but little obvious benefit.
none
- Directory will be created for new default context.
none
- Add --contexts option to overide default
- Add --config option to overide default
- Exits are now trapped during runs. see 4067990e06b21bb0cb13010c6bb7eb54e184f28c
- Fails faster if default context can not be created.
none
- Add
context_per_feature
setting to suite config. This creates a suite per feature file and loads a context based on a naming convention. Credit goes to @rkotze for implementing this feature. See #39
none
none
- Added
ContextBehaviour
behaviour that context modules can implement as an alternative to using the DSL provided byContext
.
none
none
none
- Fix bug that caused creating a default context automatically to error weirdly.
none
- Added suites configuration for defining which features are run under which context. See PR #34. Thanks goes to @rkotze for design input.
none
none
- Colour output thanks to @rkotze see #29
- Define the WhiteBread.Formatter.FailedStep protocol. Using this allows users to customise how uncaught exceptions are formatted as text by whitebread.
none
none
none
- Scenario results now reported live as they are run. Issue #26
- Fixed bug that meant final result sometimes printed before scenario results. Issue #27
none
none
- Fix issue with steps executing multiple times. Thanks to @leiyangyou : #24
none
- Add finalize() function to contexts called after every scenario.
- Handle any error thrown in a step.
- Format assertion errors from Espec (as well as the previously handled ExUnit)
none
none
- Add Doc string support (see http://www.relishapp.com/cucumber/cucumber/docs/gherkin/doc-strings).
- Application is automatically started on run.
- Elixir 1.1.0 is supported.
- Lines commented out with a # no longer break the parser.
- windows line endings handled correctly.
- Application will be automatically started unless --no-start is added:
dogma WhiteBread.run --no-start
none
- Fixed an error caused when quoted strings appeared in the middle of an undefined step.
none
This is the same as version 0.6.0 but pinned to 1.0.0 as the interface of the feature context can now be considered stable.
none
none
none
- add subcontext macro to context to help break up big contexts
no significant fixes
none
- Added stack trace to function clause match errors
no significant fixes
- error returned for :no_clause_match is now a tuple like {FunctionMatchError, Trace}
- Added table handling. Any step followed by a table will get key :table_data
- Added support for scenario outlines
- Add code suggestions for missing steps
- All step functions can now be arity 1 or 2
no significant fixes
- step functions now only have 1 or 2 arguments. The second argument is always a map. Previously regex named matches each became an argument.
- Added initial_state macro which takes a block that returns the starting state for a context.
no significant fixes
none
- Added support for --tags on mix task.
- Added default Context loaded from features/default_contect.exs
- warnings for a handful of unused variables removed.
none