Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 816 Bytes

upgrade_v8.md

File metadata and controls

21 lines (14 loc) · 816 Bytes

Upgrading from 7.x to 8.x

Prior to upgrading to v8.0.0 upgrade to latest v7.x and stop using all deprecated features. Some features will log a deprecation warning.

See also:

Cannot use DataTable#asX inside a DataTableType

You should not use the methods DataTable#asX() in DataTableTypes. It was working in previous versions, but it will now raise an exception when running your tests.

Instead you should use:

  • Replace DataTable#asList() with DataTable#values()
  • Replace DataTable#asLists() with DataTable#cells()
  • Replace DataTable#asMaps() with DataTable#entries()

More context for this change at cucumber/common#1419