0.9.4
Pre-release
Pre-release
Significant changes and new features have gone into this release.
- In test or test scope fixture, item can be added to module scope.
- GNS default format changed to YAML. Added PyYAML to setup.py as dependency.
- root and anchor element checking refer to existing element labels. Avoids duplicating same locator information.
- Introduction of "withx" (With Extended) in GNS for cleaner identifiers which share same pattern.
- Added mimesis as a dependency in setup.py. Arjuna will use its facilties for faking/generating commonly used data.
- Introduction of basic Data Generator wrapper class on top of Mimesis.
- Value class is an overhang of Java version of Arjuna. It is completely removed from Arjuna as object wrapper.
- DataRecord or Configuration values are not Value objects any more.
- Value class remains to provide any conversion class methods, which can be a useful feature to retain.
- Added SourceNode class.
- element.source.node gives an object of this.
- Provides finder methods for directly finding content in element source rather than browser based selenium commands.
- Added xfinder in arjuna.core.xml to define finding strategy.
- Singular names for all directories.
- config.get_arjuna_option_value and config.get_user_option_value -> config.arjuna_options.value, config.user_options.value
- Bug fix: attr and related With factory methods had a bug post refactoring. Fixed.
- Bug fix: screenshot path in HTML report hook.
- Entity -> DataEntity for clarity of purpose.
- BrowserConditions class added with DocumentReadyState condition automatically called for browser methods.
- Added Linux to Desktop OS enum.
- create-project command added to CLI.
- conftest.py is generated as per project_name.lib.fixture structure.
- Fixed example codes across projects.
- Data Driven Testing
- Fixed indexed values in Data Record.
- Data Record keys/names are now case-insensitive.
- Support for
records
markup. - Support for
data_function
markup. - Support for
data_class
markup. - Support for
data_file
markup (Out of the box support for XLS, TSV/CSV and INI formats.) - Support for record filtering in data files.
- Support for
many_data_sources
builder. - Added example code and docs for data driven testing.