Repository navigation
DataDriver 1.12.0 is a big clean-up release: many long-standing bugs are fixed, especially around pabot and rerunfailed, and the project now has a real test and CI setup behind it.
⚠️ Requirements
- Python 3.11+ and Robot Framework 7.1.1+. On older Python versions pip keeps installing 1.11.2; on Python 3.11+ pip upgrades an older Robot Framework together with DataDriver.
✨ New
${DATADRIVER_OPTIMIZE_PABOT}: chooseEqual,BinaryorAtomicfor the whole pabot run, e.g.pabot --testlevelsplit --pabotlib --variable DATADRIVER_OPTIMIZE_PABOT:Binary tests(#118)py.typedand a correctreader_classannotation for type checkers (#102)
🐛 Fixed
rerunfailed: re-runs all failed tests (#100), works with pabot--testlevelsplit(#61), and no longer re-runs passed tests of suites with the same name (#121)- pabot
--testlevelsplitno longer loses tests whose name ends with whitespace (#114) - PICT with pabot on Windows: no more
PermissionErroron the temp file (#116) ${ARGS}[key]and${ARGS.key}in generated test names (#84)- Empty
&{dict}cells (#111),sheet_nameas index (#112),file_search_strategy=REGEX(#113) [Tags]or[Documentation]as first column (#122),DefaultTagswith an empty[Tags]cell (#119)- Importing a reader by path on RF < 7.3 (#115)
- Docs: broken link, SyntaxWarning, deprecated tag settings, working examples (#105, #106, #85, #107)
🔄 Changed behaviour
DefaultTags: rows with an empty[Tags]cell now get the template tags.rerunfailedsets@{DATADRIVER_RERUN_TESTS}instead of${DYNAMICTESTS}.- PICT output is written to the system temp directory.
DataDriver.searchis deprecated; userobot.variables.search_variable.
💛 Thank you
This release would not exist without you. Thanks a lot for taking the time to report issues, dig into problems and send pull requests, and sorry to everyone who had to wait so long:
@jnhyperion, @VMRiihi, @kad-derksn, @robinmackaij, @teamotut, @burrk, @philipp2023, @ddufrasn, @dark-passages, @kimfaint, @BarbeRousseLibre and @Reddriver
Happy data-driven testing! 🤖