Steward v0.9.0 Release Notes

Release Date: 2014-11-20 // over 9 years ago
  • โž• Added

    • ๐Ÿ”„ CHANGELOG.md file.
    • โœ… Global DEBUG constant (is true if -vvv passed to run-tests), that could be used in tests to print some more verbose output.
    • โœ… The install command now checks for the latest version of Selenium server and interactively asks for confirmation.
    • โœ… Possibility to add custom test Publishers (enabled by --publish-results). Pass it as argument of TestStatusListener in phpunit.xml.
    • โœ… During the run-tests execution, current test results are generated into logs/results.xml. This is useful eg. on long-lasting Jenkins jobs or if you want to know more precise status of the current (or last) test run.
    • Shortcut to WebDriver in components - it's now possible to write $this->wd instead of $this->tc->wd.
    • โœ… Possibility to set --fixtures-dir in run-tests command. This is handy eg. when tests are run on remote terminal and fixtures are located on network directory.
    • โœ… Possibility to set --logs-dir in run-tests command. Useful when Steward core is installed as dependency and is run from vendor/bin/.
    • ๐Ÿ’ป Possibility to easily overload any browser-specific capability, using custom (overloaded) WebdriverListener.
    • โœ… Specified group(s) could be excluded from the run-tests, using --exclude-group option.

    ๐Ÿ”„ Changed

    • โœ… The last argument of run-tests command (browser name) is now always required (as well as the environment name).
    • โœ… The --publish-results parameter is now used without a value (as a switch to enable publishing test results).
    • โœ… Unified testcases and test status and results naming:
      • Testcases (= process) statuses: done, prepared, queued
      • Testcases (= process) results (for "done" status): passed, failed, fatal
      • Test statuses: started, done
      • Test results (for "done" status): passed, failed, broken, skipped, incomplete
    • The install command now outputs only full path to jar file in -no-interactive mode (except -vv or -vvv is passed) and nothing else.
    • โœ… Path to tests in run-tests command is now defined using --tests-dir.
    • โœ… Browser resolution is by default 1280x1024 and could easily be set eg. in AbstractTestCase using $browserWidth and $browserHeight properties.
    • โœ… The --group option could now be specified multiple times to select multiple values for run-tests.
    • โœ… Both run-tests and install commands now uses the project base directory as root path (for logs, test files, fixtures and as jar file installation) even if installed as dependency into vendor/ dir, so that it is not necessary to define the paths manually.
    • ๐Ÿ‘€ Commands are now triggering Events (see CommandEvents), which could be used to extend commands with custom features.