Releases: yugokato/pytest-data-loader
Releases · yugokato/pytest-data-loader
Release list
v0.9.0
New Features
- Enhanced loader
pathargument handling: - Add
data_loaderfixture to support dynamic paths by @yugokato in #58 - Enhanced loader options:
- Add support for
marksoption to@loadloader by @yugokato in #63 - Add support for
idxargument for post-filter loader callable options by @yugokato in #70 - Add support for
*argsin loader callable options by @yugokato in #71 - Change
read_optionsfor@parametrize_dirloader to also acceptdictby @yugokato in #85
- Add support for
- Add compression-aware loading support for
.gz,.bz2, and.xzfiles by @yugokato in #84 - Add session-level file cache to reduce repeated file reads across tests by @yugokato in #88, #89
- Add new INI options by @yugokato in #75, #86, #88, #90:
data_loader_on_missingdata_loader_default_encodingdata_loader_max_cache_sizedata_loader_max_open_files
Breaking Changes
Misc Changes
- Update automatic read mode detection logic by @yugokato in #57
- Add symlink ELOOP check to glob paths by @yugokato in #61
- Change error note added in
pytest_generate_tests()to show actual data loader def by @yugokato in #64
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- Add built-in JSONL support with default reader by @yugokato in #49
- Add unified error message for loader function call error by @yugokato in #50
- Add support of multiple paths for
@parametrizeand@parametrize_dirby @yugokato in #51 - Add support of
id_functo@parametrize_dirloader by @yugokato in #52 - Add support of stacking multiple data loaders by @yugokato in #53
Full Changelog: v0.7.2...v0.8.0
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.1
v0.4.0
New Features
- Add support of specifying file read options by @yugokato in #20
- Add support of specifying file readers by @yugokato in #21
Breaking Changes
- Removed
force_binaryoption in favor of more flexible way for specifying file read options
Full Changelog: v0.3.0...v0.4.0
v0.3.0
New Features
- Remove the restriction of
id_funcoption in the@parametrizeloader when lazy loading is enabled by @yugokato in #15 - Add
maker_funcoption to@parametrizeand@parametrize_dirloaders by @yugokato in #16
Bug Fixes
Miscellaneous Changes
- Remove automatic
repr()on theidspecified in@loadby @yugokato in #11 - Change to always validate provided loader function definition early during collection phase (As part of #16)
Full Changelog: v0.2.0...v0.3.0