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 inphpunit.xml
. - โ
During the
run-tests
execution, current test results are generated intologs/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
inrun-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
inrun-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 forrun-tests
. - โ
Both
run-tests
andinstall
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.