Skip to content

2.1.3 - Improved best practises in the project template

Compare
Choose a tag to compare
@sjieg sjieg released this 07 Feb 11:07
· 6 commits to master since this release
072450e
  • NEW: We now support adding multiple configuration files by using LapisLazuli::WorldModule::Config.add_config("config/config.yml")
  • DEPRICATED: LapisLazuli::WorldModule::Config.config_file = "config/config.yml"
  • NEW: The generated template using lapis_lazuli create <projectname> has been completely reworked up to the new standards. See below for more details.
  • NEW: Updated Lapis Lazuli dependencies, now allowing Cucumber 3 (Beta)
  • NEW: Opened browser now defaults to whatever Watir open when no :browser option is given. (Currently Chrome, this was Firefox)
  • NEW: Now depending on deep_merge to be able to smart-merge 2 config files, with the same values together.
  • FIX: Resizing browser would sometime not work.
  • FIX: env_or_config() did not throw an error if neither was found and no default was given.
  • FIX: browser.get_http_status() now properly returns the correct status code.

UPDATED TEMPLATE:

  • More detailed cucumber.yml
  • Split up the feature files:
    • Beginner: basic.feature (Includes a debug practise scenario)
    • Advanced: account.feature
    • Practise: todo.feature
  • Added helper modules, modules made to simplify your tests.
  • Added login / logout / register scenario's.