Skip to content

Commit

Permalink
Convert to use the Gherkin compiler and Pickles
Browse files Browse the repository at this point in the history
* Cucumber::Core::Ast is removed.
* Cucumber::Core::Case/Step need to own all data necessary for
  execution, there is not #source which refers to any Ast data.
  This also mean that some classes Tag, Location, DataTable, DocString
  etc are moved the the Cucumber::Core::Ast to Cucumber::Core::Test.
* The class Cucumber::Core::Compiler still exists, but it creates
  Test::Cases/Steps from Pickles (instead of from the Ast).
* The locations of Test::Case/Step mimics the locations of the
  Pickle(/Step), so a Case/Step from an Scenario Outline will have
  two lines in the location.
* The LocationsFilter can only match the lines of the Test::Case/Step,
  which is more limited than previously when the lines from all Ast
  object contained in the Test::Case/Step#source could be matched.
  • Loading branch information
brasmusson committed Jul 16, 2018
1 parent df7fcba commit 4747217
Show file tree
Hide file tree
Showing 44 changed files with 281 additions and 2,583 deletions.
14 changes: 0 additions & 14 deletions lib/cucumber/core/ast.rb

This file was deleted.

41 changes: 0 additions & 41 deletions lib/cucumber/core/ast/background.rb

This file was deleted.

28 changes: 0 additions & 28 deletions lib/cucumber/core/ast/comment.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/cucumber/core/ast/describes_itself.rb

This file was deleted.

17 changes: 0 additions & 17 deletions lib/cucumber/core/ast/empty_background.rb

This file was deleted.

119 changes: 0 additions & 119 deletions lib/cucumber/core/ast/examples_table.rb

This file was deleted.

88 changes: 0 additions & 88 deletions lib/cucumber/core/ast/feature.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/cucumber/core/ast/names.rb

This file was deleted.

Loading

0 comments on commit 4747217

Please sign in to comment.