Skip to content

DataDriver 1.12.0

Latest

Choose a tag to compare

@Snooz82 Snooz82 released this 29 Nov 00:27
47603ef

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}: choose Equal, Binary or Atomic for the whole pabot run, e.g. pabot --testlevelsplit --pabotlib --variable DATADRIVER_OPTIMIZE_PABOT:Binary tests (#118)
  • py.typed and a correct reader_class annotation 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 --testlevelsplit no longer loses tests whose name ends with whitespace (#114)
  • PICT with pabot on Windows: no more PermissionError on the temp file (#116)
  • ${ARGS}[key] and ${ARGS.key} in generated test names (#84)
  • Empty &{dict} cells (#111), sheet_name as index (#112), file_search_strategy=REGEX (#113)
  • [Tags] or [Documentation] as first column (#122), DefaultTags with 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.
  • rerunfailed sets @{DATADRIVER_RERUN_TESTS} instead of ${DYNAMICTESTS}.
  • PICT output is written to the system temp directory.
  • DataDriver.search is deprecated; use robot.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! 🤖