robotframework-datadriver 1.11.1__tar.gz → 1.12.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. robotframework_datadriver-1.12.0/CONTRIBUTION.md +75 -0
  2. {robotframework-datadriver-1.11.1/src/robotframework_datadriver.egg-info → robotframework_datadriver-1.12.0}/PKG-INFO +162 -81
  3. robotframework-datadriver-1.11.1/PKG-INFO → robotframework_datadriver-1.12.0/Readme.rst +131 -91
  4. robotframework_datadriver-1.12.0/atest/.DS_Store +0 -0
  5. robotframework_datadriver-1.12.0/atest/.mypy_cache/.gitignore +2 -0
  6. robotframework_datadriver-1.12.0/atest/.mypy_cache/CACHEDIR.TAG +3 -0
  7. robotframework_datadriver-1.12.0/atest/.pabotsuitenames +5 -0
  8. robotframework_datadriver-1.12.0/atest/TestCases/.DS_Store +0 -0
  9. robotframework_datadriver-1.12.0/atest/TestCases/Arguments/column_order.csv +2 -0
  10. robotframework_datadriver-1.12.0/atest/TestCases/Arguments/column_order.robot +16 -0
  11. robotframework_datadriver-1.12.0/atest/TestCases/Arguments/optional_arguments.csv +3 -0
  12. robotframework_datadriver-1.12.0/atest/TestCases/Arguments/optional_arguments.robot +22 -0
  13. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_excel.csv +4 -0
  14. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_excel.robot +16 -0
  15. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_excel_tab.robot +16 -0
  16. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_excel_tab.tsv +4 -0
  17. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_unix.csv +4 -0
  18. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/dialect_unix.robot +16 -0
  19. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/empty_collections.csv +2 -0
  20. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/empty_collections.robot +17 -0
  21. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/empty_data.csv +1 -0
  22. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/empty_data.robot +16 -0
  23. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_default_cp1252.csv +4 -0
  24. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_default_cp1252.robot +17 -0
  25. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_utf_16.csv +0 -0
  26. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_utf_16.robot +17 -0
  27. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_utf_8_sig.csv +6 -0
  28. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_utf_8_sig.robot +17 -0
  29. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/encoding_utf_8_with_bom.robot +17 -0
  30. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/list_separator.csv +3 -0
  31. robotframework_datadriver-1.12.0/atest/TestCases/CSV_Options/list_separator.robot +17 -0
  32. robotframework_datadriver-1.12.0/atest/TestCases/Compatibility/search_module.robot +27 -0
  33. robotframework_datadriver-1.12.0/atest/TestCases/Compatibility/search_module_usage.py +44 -0
  34. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/ConfigKeyword/config_keyword_generate_file.robot +7 -4
  35. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/ConfigKeyword/custom_reader.robot +1 -0
  36. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Check_DataTypes.robot +1 -0
  37. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Check_DataTypes_xlsx.robot +1 -0
  38. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/LiteralEval.robot +1 -0
  39. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Types_in_dicts.robot +1 -1
  40. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/.DS_Store +0 -0
  41. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/defaults.robot +1 -0
  42. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/generic_csv_reader.robot +1 -0
  43. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/test_case_names.robot +1 -0
  44. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/test_case_no_names.robot +1 -0
  45. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/defaults_glob_files.robot +1 -0
  46. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/defaults_glob_folders.robot +1 -0
  47. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/PICT/.DS_Store +0 -0
  48. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/PICT/defaults_pict.robot +3 -0
  49. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/PICT/pict_arguments.robot +3 -0
  50. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/PICT/pict_parallel.py +23 -0
  51. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/PICT/pict_parallel.robot +13 -0
  52. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/XLS/defaults_xls.robot +1 -0
  53. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/XLS/defaults_xlsx.robot +1 -0
  54. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/XLS/defaults_xlsx.xlsx +0 -0
  55. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/XLS/defaults_xlsx_data_type.robot +1 -0
  56. robotframework_datadriver-1.12.0/atest/TestCases/Defaults/XLS/defaults_xlsx_sheet_index.robot +30 -0
  57. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/XLS/defaults_xlsx_sheet_name.robot +1 -0
  58. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/absolute_path.robot +16 -0
  59. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/data/relative.csv +3 -0
  60. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/extension_only.csv +3 -0
  61. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/extension_only.robot +16 -0
  62. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/file_search_strategy_regex.robot +16 -0
  63. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/parent_folder.robot +16 -0
  64. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/regex_data/found_by_regex.csv +3 -0
  65. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/regex_data/ignored.txt +1 -0
  66. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/relative_to_execdir.robot +16 -0
  67. robotframework_datadriver-1.12.0/atest/TestCases/FileOptions/relative_to_suite.robot +16 -0
  68. robotframework_datadriver-1.12.0/atest/TestCases/FirstColumn/documentation.csv +3 -0
  69. robotframework_datadriver-1.12.0/atest/TestCases/FirstColumn/documentation.robot +17 -0
  70. robotframework_datadriver-1.12.0/atest/TestCases/FirstColumn/tags.csv +4 -0
  71. robotframework_datadriver-1.12.0/atest/TestCases/FirstColumn/tags.robot +19 -0
  72. robotframework_datadriver-1.12.0/atest/TestCases/Names/dict_variables_in_name.csv +3 -0
  73. robotframework_datadriver-1.12.0/atest/TestCases/Names/dict_variables_in_name.robot +18 -0
  74. robotframework_datadriver-1.12.0/atest/TestCases/Names/name_resolution.py +19 -0
  75. robotframework_datadriver-1.12.0/atest/TestCases/Names/name_resolution.robot +32 -0
  76. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/dynamic_tests_handover.py +29 -0
  77. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/dynamic_tests_handover.robot +28 -0
  78. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/many_tests_pict.pict +4 -0
  79. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/many_tests_pict.robot +30 -0
  80. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/optimize_atomic.robot +16 -0
  81. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/optimize_binary.robot +16 -0
  82. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/optimize_equal.robot +16 -0
  83. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/pabot_data.csv +41 -0
  84. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/pabot_whitespace.csv +5 -0
  85. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/whitespace_atomic.robot +17 -0
  86. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/whitespace_binary.robot +17 -0
  87. robotframework_datadriver-1.12.0/atest/TestCases/Pabot/whitespace_equal.robot +17 -0
  88. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/cli_tag_filter.robot +19 -0
  89. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/dynamic_tests.csv +7 -0
  90. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/dynamic_tests.robot +18 -0
  91. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/library_tag_filter_overrides_cli.robot +18 -0
  92. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/optimize_pabot_override.csv +7 -0
  93. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/optimize_pabot_override.robot +23 -0
  94. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_failed.csv +11 -0
  95. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_failed.robot +26 -0
  96. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/first/dd.csv +3 -0
  97. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/first/dd.robot +25 -0
  98. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/first/plain.robot +19 -0
  99. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/second/dd.csv +3 -0
  100. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/second/dd.robot +25 -0
  101. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/rerun_same_name/second/plain.robot +19 -0
  102. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/tasks.csv +4 -0
  103. robotframework_datadriver-1.12.0/atest/TestCases/Scenarios/tasks.robot +18 -0
  104. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Setup_Teardown/Setups_Teardowns.robot +1 -0
  105. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Some_Fail/2_of_10_fail.robot +1 -0
  106. robotframework_datadriver-1.12.0/atest/TestCases/Tags/handle_template_tags_default.robot +25 -0
  107. robotframework_datadriver-1.12.0/atest/TestCases/Tags/handle_template_tags_force.robot +23 -0
  108. robotframework_datadriver-1.12.0/atest/TestCases/Tags/handle_template_tags_notags.robot +23 -0
  109. robotframework_datadriver-1.12.0/atest/TestCases/Tags/handle_template_tags_unset.robot +23 -0
  110. robotframework_datadriver-1.12.0/atest/TestCases/Tags/library_exclude.robot +16 -0
  111. robotframework_datadriver-1.12.0/atest/TestCases/Tags/library_include.robot +16 -0
  112. robotframework_datadriver-1.12.0/atest/TestCases/Tags/library_include_exclude.robot +16 -0
  113. robotframework_datadriver-1.12.0/atest/TestCases/Tags/library_include_none.robot +16 -0
  114. robotframework_datadriver-1.12.0/atest/TestCases/Tags/tag_filter.csv +8 -0
  115. robotframework_datadriver-1.12.0/atest/TestCases/Tags/template_tags.csv +4 -0
  116. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Tags/test.robot +1 -0
  117. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Timeouts/timeout.robot +1 -0
  118. robotframework_datadriver-1.12.0/atest/TestCases/Variables/datadriver_variables.csv +4 -0
  119. robotframework_datadriver-1.12.0/atest/TestCases/Variables/datadriver_variables.robot +38 -0
  120. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/csv_reader_config/reader_by_filename.robot +1 -0
  121. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/csv_reader_config/reader_by_module_name.robot +1 -0
  122. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/csv_reader_config/reader_by_name.robot +1 -0
  123. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/csv_reader_config/reader_by_path.robot +1 -0
  124. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/custom_reader.robot +1 -0
  125. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/custom_reader_local.robot +1 -0
  126. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/file_search_strategy_none.robot +1 -0
  127. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/jsonreader.robot +1 -0
  128. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/with_path_and_file.robot +1 -0
  129. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/performance/10.000.robot +1 -0
  130. robotframework_datadriver-1.12.0/atest/count_checker.py +204 -0
  131. robotframework_datadriver-1.12.0/atest/run_atest.py +549 -0
  132. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/.gitignore +2 -0
  133. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.0.db +0 -0
  134. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.1.db +0 -0
  135. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.10.db +0 -0
  136. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.11.db +0 -0
  137. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.12.db +0 -0
  138. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.13.db +0 -0
  139. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.14.db +0 -0
  140. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.15.db +0 -0
  141. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.2.db +0 -0
  142. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.3.db +0 -0
  143. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.4.db +0 -0
  144. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.5.db +0 -0
  145. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.6.db +0 -0
  146. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.7.db +0 -0
  147. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.8.db +0 -0
  148. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.12/cache.9.db +0 -0
  149. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.0.db +0 -0
  150. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.1.db +0 -0
  151. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.10.db +0 -0
  152. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.11.db +0 -0
  153. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.12.db +0 -0
  154. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.13.db +0 -0
  155. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.14.db +0 -0
  156. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.15.db +0 -0
  157. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.2.db +0 -0
  158. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.3.db +0 -0
  159. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.4.db +0 -0
  160. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.5.db +0 -0
  161. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.6.db +0 -0
  162. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.7.db +0 -0
  163. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.8.db +0 -0
  164. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/3.13/cache.9.db +0 -0
  165. robotframework_datadriver-1.12.0/atest/typing/.mypy_cache/CACHEDIR.TAG +3 -0
  166. robotframework_datadriver-1.12.0/atest/typing/custom_reader_usage.py +21 -0
  167. robotframework_datadriver-1.12.0/doc/DataDriver.html +484 -0
  168. robotframework_datadriver-1.12.0/example/.DS_Store +0 -0
  169. robotframework_datadriver-1.12.0/example/.vscode/DataDriver.code-workspace +8 -0
  170. robotframework_datadriver-1.12.0/example/.vscode/tasks.json +38 -0
  171. robotframework_datadriver-1.12.0/example/Login Tests/.DS_Store +0 -0
  172. robotframework_datadriver-1.12.0/example/Login Tests/.idea/Login Tests.iml +11 -0
  173. robotframework_datadriver-1.12.0/example/Login Tests/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  174. robotframework_datadriver-1.12.0/example/Login Tests/.idea/misc.xml +4 -0
  175. robotframework_datadriver-1.12.0/example/Login Tests/.idea/modules.xml +8 -0
  176. robotframework_datadriver-1.12.0/example/Login Tests/.idea/vcs.xml +6 -0
  177. robotframework_datadriver-1.12.0/example/Login Tests/.idea/workspace.xml +110 -0
  178. robotframework_datadriver-1.12.0/example/Login Tests/DataDriven_regex.robot +22 -0
  179. robotframework_datadriver-1.12.0/example/Login Tests/logs/.DS_Store +0 -0
  180. robotframework_datadriver-1.12.0/example/Login Tests/logs/geckodriver-1.log +14 -0
  181. robotframework_datadriver-1.12.0/example/Login Tests/logs/geckodriver-2.log +12 -0
  182. robotframework_datadriver-1.12.0/example/Login Tests/logs/geckodriver-3.log +10 -0
  183. robotframework_datadriver-1.12.0/example/Login Tests/logs/geckodriver-4.log +10 -0
  184. robotframework_datadriver-1.12.0/example/Login Tests/logs/output.xml +541 -0
  185. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-1.png +0 -0
  186. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-2.png +0 -0
  187. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-3.png +0 -0
  188. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-4.png +0 -0
  189. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-5.png +0 -0
  190. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-6.png +0 -0
  191. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-7.png +0 -0
  192. robotframework_datadriver-1.12.0/example/Login Tests/logs/selenium-screenshot-8.png +0 -0
  193. robotframework_datadriver-1.12.0/example/README.md +52 -0
  194. robotframework_datadriver-1.12.0/example/demo_web_server/.DS_Store +0 -0
  195. robotframework_datadriver-1.12.0/pyproject.toml +150 -0
  196. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/AbstractReaderClass.py +23 -22
  197. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/DataDriver.py +252 -137
  198. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/ReaderConfig.py +18 -18
  199. robotframework_datadriver-1.12.0/src/DataDriver/__init__.py +7 -0
  200. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/json_reader.py +1 -0
  201. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/pict_reader.py +25 -16
  202. robotframework_datadriver-1.12.0/src/DataDriver/py.typed +0 -0
  203. robotframework_datadriver-1.12.0/src/DataDriver/rerunfailed.py +86 -0
  204. robotframework_datadriver-1.12.0/src/DataDriver/search.py +122 -0
  205. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/utils.py +65 -14
  206. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/xls_reader.py +1 -1
  207. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/xlsx_reader.py +14 -1
  208. robotframework_datadriver-1.12.0/tasks.py +257 -0
  209. robotframework-datadriver-1.11.1/CONTRIBUTION.md +0 -23
  210. robotframework-datadriver-1.11.1/MANIFEST.in +0 -44
  211. robotframework-datadriver-1.11.1/Readme.rst +0 -1277
  212. robotframework-datadriver-1.11.1/atest/TestCases/Defaults/XLS/defaults_xlsx.xlsx +0 -0
  213. robotframework-datadriver-1.11.1/atest/run_atest.bat +0 -1
  214. robotframework-datadriver-1.11.1/atest/run_atest.py +0 -13
  215. robotframework-datadriver-1.11.1/atest/run_atest.sh +0 -1
  216. robotframework-datadriver-1.11.1/atest/run_atest_pabot.bat +0 -1
  217. robotframework-datadriver-1.11.1/atest/run_atest_pabot.sh +0 -1
  218. robotframework-datadriver-1.11.1/create_readme.py +0 -8
  219. robotframework-datadriver-1.11.1/dev-requirements.txt +0 -10
  220. robotframework-datadriver-1.11.1/doc/DataDriver.html +0 -1876
  221. robotframework-datadriver-1.11.1/docs/index.html +0 -1876
  222. robotframework-datadriver-1.11.1/example/Login Tests/DataDriven_regex.robot +0 -22
  223. robotframework-datadriver-1.11.1/pyproject.toml +0 -58
  224. robotframework-datadriver-1.11.1/setup.cfg +0 -4
  225. robotframework-datadriver-1.11.1/setup.py +0 -40
  226. robotframework-datadriver-1.11.1/src/DataDriver/__init__.py +0 -1
  227. robotframework-datadriver-1.11.1/src/DataDriver/rerunfailed.py +0 -60
  228. robotframework-datadriver-1.11.1/src/DataDriver/search.py +0 -246
  229. robotframework-datadriver-1.11.1/src/robotframework_datadriver.egg-info/SOURCES.txt +0 -157
  230. robotframework-datadriver-1.11.1/src/robotframework_datadriver.egg-info/dependency_links.txt +0 -1
  231. robotframework-datadriver-1.11.1/src/robotframework_datadriver.egg-info/requires.txt +0 -8
  232. robotframework-datadriver-1.11.1/src/robotframework_datadriver.egg-info/top_level.txt +0 -1
  233. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/COPYRIGHT.txt +0 -0
  234. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/LICENSE +0 -0
  235. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/@plugins_snapshot.json +0 -0
  236. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_ast.data.json +0 -0
  237. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_ast.meta.json +0 -0
  238. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_importlib_modulespec.data.json +0 -0
  239. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_importlib_modulespec.meta.json +0 -0
  240. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_typeshed/__init__.data.json +0 -0
  241. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/_typeshed/__init__.meta.json +0 -0
  242. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/abc.data.json +0 -0
  243. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/abc.meta.json +0 -0
  244. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/array.data.json +0 -0
  245. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/array.meta.json +0 -0
  246. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/ast.data.json +0 -0
  247. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/ast.meta.json +0 -0
  248. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/builtins.data.json +0 -0
  249. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/builtins.meta.json +0 -0
  250. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/codecs.data.json +0 -0
  251. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/codecs.meta.json +0 -0
  252. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/collections/__init__.data.json +0 -0
  253. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/collections/__init__.meta.json +0 -0
  254. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/genericpath.data.json +0 -0
  255. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/genericpath.meta.json +0 -0
  256. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/importlib/__init__.data.json +0 -0
  257. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/importlib/__init__.meta.json +0 -0
  258. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/importlib/abc.data.json +0 -0
  259. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/importlib/abc.meta.json +0 -0
  260. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/io.data.json +0 -0
  261. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/io.meta.json +0 -0
  262. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/mmap.data.json +0 -0
  263. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/mmap.meta.json +0 -0
  264. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/os/__init__.data.json +0 -0
  265. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/os/__init__.meta.json +0 -0
  266. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/os/path.data.json +0 -0
  267. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/os/path.meta.json +0 -0
  268. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/posix.data.json +0 -0
  269. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/posix.meta.json +0 -0
  270. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/sys.data.json +0 -0
  271. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/sys.meta.json +0 -0
  272. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/types.data.json +0 -0
  273. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/types.meta.json +0 -0
  274. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/typing.data.json +0 -0
  275. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/typing.meta.json +0 -0
  276. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/typing_extensions.data.json +0 -0
  277. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/.mypy_cache/3.9/typing_extensions.meta.json +0 -0
  278. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Check_DataTypes.csv +0 -0
  279. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Check_DataTypes_xlsx.xlsx +0 -0
  280. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/LiteralEval.csv +0 -0
  281. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/DataTypes/Types_in_dicts.csv +0 -0
  282. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/defaults.csv +0 -0
  283. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/generic_csv_reader.csv +0 -0
  284. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/test_case_names.csv +0 -0
  285. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/CSV/test_case_no_names.csv +0 -0
  286. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/DataFiles/First_File.json +0 -0
  287. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/DataFiles/Last_File.json +0 -0
  288. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/DataFiles/Wrong_File.NoJson +0 -0
  289. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/FoldersToFind/Folder1/verify.txt +0 -0
  290. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/GLOB/FoldersToFind/Folder2/verify.txt +0 -0
  291. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/PICT/defaults_pict.pict +0 -0
  292. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/PICT/pict_arg.pict +0 -0
  293. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Defaults/XLS/defaults_xls.xls +0 -0
  294. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Setup_Teardown/Setups_Teardowns.csv +0 -0
  295. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Some_Fail/2_of_10_fail.csv +0 -0
  296. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Tags/foo_reader.py +0 -0
  297. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/Timeouts/timeout.csv +0 -0
  298. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/csv_reader_config/tab-csv-file-name.tsv +0 -0
  299. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/custom_reader.py +0 -0
  300. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/data.json +0 -0
  301. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/custom_reader/dummy.txt +0 -0
  302. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/atest/TestCases/performance/10000.csv +0 -0
  303. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven.csv +0 -0
  304. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven.pict +0 -0
  305. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven.robot +0 -0
  306. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven.xls +0 -0
  307. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven.xlsx +0 -0
  308. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven_pict.robot +0 -0
  309. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven_xls.robot +0 -0
  310. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/DataDriven_xlsx.robot +0 -0
  311. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/invalidLogins.robot +0 -0
  312. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/login_resources.robot +0 -0
  313. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/logs/log.html +0 -0
  314. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/logs/report.html +0 -0
  315. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/Login Tests/validTest.robot +0 -0
  316. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/html/demo.css +0 -0
  317. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/html/error.html +0 -0
  318. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/html/index.html +0 -0
  319. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/html/log.html +0 -0
  320. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/html/welcome.html +0 -0
  321. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/example/demo_web_server/server.py +0 -0
  322. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/argument_utils.py +0 -0
  323. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/csv_reader.py +0 -0
  324. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/generic_csv_reader.py +0 -0
  325. {robotframework-datadriver-1.11.1 → robotframework_datadriver-1.12.0}/src/DataDriver/glob_reader.py +0 -0
@@ -0,0 +1,75 @@
1
+ ### Environment
2
+
3
+ To test DataDriver i would strongly recomment to create virtual environment.
4
+
5
+ Steps:
6
+ - First fork DataDriver
7
+ - Clone the fork to you disk
8
+ - in your terminal execute `python -m venv .venv` in the main folder of robotframework-datadriver
9
+ - activate that virtual environment (unix: `source .venv/bin/activate`)
10
+ - install DataDriver editable from source together with all dev requirements `pip install -e ".[xls,dev]"`
11
+ - all development actions are [invoke](https://www.pyinvoke.org/) tasks, see `invoke --list`:
12
+ - `invoke lint` (ruff check + format check), `invoke format` (apply ruff fixes and formatting)
13
+ - `invoke typecheck` (mypy on the package and on `atest/typing` against the installed package)
14
+ - `invoke readme`, `invoke libdoc`, `invoke docs` (both)
15
+ - `invoke atest`, `invoke atest --pabot`
16
+ - `invoke build`, `invoke publish`, `invoke clean`
17
+
18
+ ### ATests
19
+
20
+ Run the acceptance tests with `invoke atest`.
21
+ The data-driven PICT tests need the [pict](https://github.com/microsoft/pict) binary on `PATH`.
22
+
23
+ The runner executes:
24
+
25
+ - **main**: all suites in `atest/TestCases`, except the tags `performance`, `failing`, `filtered` and `scenario`.
26
+ - **scenarios**: suites tagged `scenario` that need special command line options
27
+ (`DYNAMICTEST(S)`, `--include`/`--exclude`, `--rpa`, the `rerunfailed` prerunmodifier, `DATADRIVER_OPTIMIZE_PABOT`).
28
+ See `invoke atest --list`.
29
+
30
+ After every run, `atest/count_checker.py` checks that each data-driven suite generated exactly the
31
+ expected number of tests. Each suite declares that number in its settings:
32
+
33
+ ```robotframework
34
+ *** Settings ***
35
+ Metadata Expected Test Count 12
36
+ ```
37
+
38
+ A new suite without this metadata fails the check. Scenarios define their own expected counts in `run_atest.py`.
39
+
40
+ Useful options: `--only main --only dynamictests`, `--no-scenarios`, `--verbose` (full robot output), `--outputdir`.
41
+
42
+ A test for a known, not yet fixed bug is excluded from CI by the `failing` tag on the suite,
43
+ `known_issue=` on a scenario in `run_atest.py` or an entry in `PABOT_KNOWN_ISSUES` in `run_atest.py`
44
+ (the last two report XFAIL, and XPASS once the bug is fixed). Remove the marker with the fix.
45
+ `Some_Fail/2_of_10_fail.robot` and `Timeouts/timeout.robot` fail on purpose and are tagged `failing`.
46
+
47
+ #### Pabot tests
48
+
49
+ `invoke atest --pabot` runs the main suites with
50
+ `pabot --testlevelsplit --pabotlib --processes 4` and checks the counts on the merged output.
51
+ Suites tagged `nopabot` are excluded.
52
+
53
+ ### Coverage
54
+
55
+ `invoke atest --coverage` (also with `--pabot`) measures statement and branch coverage of DataDriver in
56
+ all robot/pabot processes. `invoke coverage-report` combines the data, writes `coverage_report/html` and
57
+ fails if the combined coverage is below `fail_under` in `pyproject.toml`.
58
+ When coverage improves, raise `fail_under`; the report prints a hint.
59
+
60
+ ### CI
61
+
62
+ `.github/workflows/tests.yml` runs the same invoke tasks: `lint`, `build`, `docs` and `atest` on
63
+ Ubuntu and Windows for all supported Python versions and Robot Framework minor versions
64
+ (not every combination), plus pabot runs. A final job combines the coverage of all jobs and fails below
65
+ `fail_under`.
66
+
67
+ ### Release
68
+
69
+ 1. Set `__version__` in `src/DataDriver/__init__.py` (flit reads the version from there) and run
70
+ `invoke docs`, so Readme and libdoc show the new version. Commit and merge to `main`.
71
+ 2. `invoke publish` builds sdist and wheel with flit and uploads them to PyPI after a confirmation
72
+ (`invoke publish --repository testpypi` for a test upload, the repository must be in `~/.pypirc`).
73
+ Credentials come from `~/.pypirc`, the keyring or `FLIT_USERNAME`/`FLIT_PASSWORD`
74
+ (for an API token the username is `__token__`); otherwise flit asks for them.
75
+ 3. Tag the release commit with the version (e.g. `1.12.0`) and create the GitHub release.
@@ -1,24 +1,43 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.5
2
2
  Name: robotframework-datadriver
3
- Version: 1.11.1
3
+ Version: 1.12.0
4
4
  Summary: A library for Data-Driven Testing.
5
- Home-page: https://github.com/Snooz82/robotframework-datadriver
6
- Author: René Rohner(Snooz82)
7
- Author-email: snooz@posteo.de
5
+ Author-email: "René Rohner(Snooz82)" <snooz@posteo.de>
6
+ Requires-Python: >=3.11
7
+ Description-Content-Type: text/x-rst
8
+ License-Expression: Apache-2.0
8
9
  Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.8
10
- Classifier: Programming Language :: Python :: 3.9
11
- Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3 :: Only
12
11
  Classifier: Programming Language :: Python :: 3.11
13
- Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
14
15
  Classifier: Operating System :: OS Independent
15
16
  Classifier: Topic :: Software Development :: Testing
16
17
  Classifier: Topic :: Software Development :: Testing :: Acceptance
17
18
  Classifier: Framework :: Robot Framework
18
- Requires-Python: >=3.8.0
19
- Description-Content-Type: text/x-rst
20
- Provides-Extra: xls
19
+ Classifier: Framework :: Robot Framework :: Library
20
+ License-File: COPYRIGHT.txt
21
21
  License-File: LICENSE
22
+ Requires-Dist: robotframework >= 7.1.1, < 8.0
23
+ Requires-Dist: docutils
24
+ Requires-Dist: Pygments
25
+ Requires-Dist: coverage[toml] ; extra == "dev"
26
+ Requires-Dist: invoke ; extra == "dev"
27
+ Requires-Dist: robotframework-pabot ; extra == "dev"
28
+ Requires-Dist: robotframework-stacktrace ; extra == "dev"
29
+ Requires-Dist: ruff ; extra == "dev"
30
+ Requires-Dist: mypy ; extra == "dev"
31
+ Requires-Dist: flit ; extra == "dev"
32
+ Requires-Dist: pandas ; extra == "xls"
33
+ Requires-Dist: xlrd >= 1.2.0 ; extra == "xls"
34
+ Requires-Dist: openpyxl ; extra == "xls"
35
+ Project-URL: Homepage, https://github.com/Snooz82/robotframework-datadriver
36
+ Project-URL: Issues, https://github.com/Snooz82/robotframework-datadriver/issues
37
+ Project-URL: Source, https://github.com/Snooz82/robotframework-datadriver
38
+ Provides-Extra: dev
39
+ Provides-Extra: xls
40
+ Import-Name: DataDriver
22
41
 
23
42
  ===================================================
24
43
  DataDriver for Robot Framework®
@@ -35,10 +54,10 @@ DataDriver is used/imported as Library but does not provide keywords
35
54
  which can be used in a test. DataDriver uses the Listener Interface
36
55
  Version 3 to manipulate the test cases and creates new test cases based
37
56
  on a Data-File that contains the data for Data-Driven Testing. These
38
- data file may be .csv , .xls or .xlsx files.
57
+ data files may be .csv, .xls or .xlsx files.
39
58
 
40
- Data Driver is also able to cooperate with Microsoft PICT. An Open
41
- Source Windows tool for data combination testing. Pict is able to
59
+ DataDriver is also able to cooperate with Microsoft PICT, an open
60
+ source tool for data combination testing. PICT is able to
42
61
  generate data combinations based on textual model definitions.
43
62
  https://github.com/Microsoft/pict
44
63
 
@@ -49,7 +68,8 @@ your test data from some other sources, like databases or json files.
49
68
  Installation
50
69
  ------------
51
70
 
52
- If you already have Python >= 3.6 with pip installed, you can simply
71
+ DataDriver requires Python >= 3.11 and Robot Framework >= 7.1.1.
72
+ If you already have Python with pip installed, you can simply
53
73
  run:
54
74
 
55
75
  ``pip install --upgrade robotframework-datadriver``
@@ -58,9 +78,9 @@ run:
58
78
  Excel Support
59
79
  ~~~~~~~~~~~~~
60
80
 
61
- For file support of ``xls`` or ``xlsx`` file you need to install the extra XLS or the dependencies.
62
- It contains the dependencies of pandas, numpy and xlrd. Just add [XLS] to your installation.
63
- New since version 3.6.
81
+ For ``xls`` or ``xlsx`` files you need to install the extra XLS or its dependencies.
82
+ It contains the dependencies pandas, xlrd and openpyxl. Just add [XLS] to your installation.
83
+ New since version 0.3.6.
64
84
 
65
85
  ``pip install --upgrade robotframework-datadriver[XLS]``
66
86
 
@@ -68,15 +88,11 @@ New since version 3.6.
68
88
  Python 2
69
89
  ~~~~~~~~
70
90
 
71
- or if you have Python 2 and 3 installed in parallel you may use
72
-
73
- ``pip3 install --upgrade robotframework-datadriver``
74
-
75
- DataDriver is compatible with Python 2.7 only in Version 0.2.7.
91
+ The last version that is compatible with Python 2.7 is 0.2.7.
76
92
 
77
93
  ``pip install --upgrade robotframework-datadriver==0.2.7``
78
94
 
79
- Because Python 2.7 is deprecated, there are no new feature to python 2.7 compatible version.
95
+ Python 2.7 is not supported anymore, so this version does not get any new features or fixes.
80
96
 
81
97
 
82
98
  Table of contents
@@ -114,13 +130,13 @@ RoboCon 2020 Talk
114
130
  .. image:: https://img.youtube.com/vi/RtEUr1i4x3s/0.jpg
115
131
  :target: https://www.youtube.com/watch?v=RtEUr1i4x3s
116
132
 
117
- Brief overview what DataDriver is and how it works at the RoboCon 2020 in Helsiki.
133
+ Brief overview of what DataDriver is and how it works at the RoboCon 2020 in Helsinki.
118
134
 
119
135
 
120
136
  Alternative approach
121
137
  ~~~~~~~~~~~~~~~~~~~~
122
138
 
123
- DataDriver gives an alternative to the build in data driven approach
139
+ DataDriver gives an alternative to the built-in data-driven approach
124
140
  like:
125
141
 
126
142
  .. code :: robotframework
@@ -134,7 +150,7 @@ like:
134
150
  Test Template Invalid login
135
151
 
136
152
 
137
- *** Test Cases *** User Passwort
153
+ *** Test Cases *** User Password
138
154
  Right user empty pass demo ${EMPTY}
139
155
  Right user wrong pass demo FooBar
140
156
 
@@ -154,18 +170,18 @@ like:
154
170
  click login button
155
171
  Error page should be visible
156
172
 
157
- This inbuilt approach is fine for a hand full of data and a hand full of
158
- test cases. If you have generated or calculated data and specially if
159
- you have a variable amount of test case / combinations these robot files
173
+ This built-in approach is fine for a handful of data and a handful of
174
+ test cases. If you have generated or calculated data and especially if
175
+ you have a variable amount of test cases / combinations, these robot files
160
176
  become quite a pain. With DataDriver you may write the same test case
161
- syntax but only once and deliver the data from en external data file.
177
+ syntax but only once and deliver the data from an external data file.
162
178
 
163
179
  One of the rare reasons when Microsoft® Excel or LibreOffice Calc may be
164
180
  used in testing… ;-)
165
181
 
166
- `See example test suite <#example-suite>`__
182
+ `See example test suite <#example-test-suite>`__
167
183
 
168
- `See example csv table <#example-csv>`__
184
+ `See example csv table <#example-data-file>`__
169
185
 
170
186
 
171
187
  How DataDriver Works
@@ -177,12 +193,11 @@ Framework® to read and modify the test specification objects. After
177
193
  activation it searches for the ``Test Template`` -Keyword to analyze the
178
194
  ``[Arguments]`` it has. As a second step, it loads the data from the
179
195
  specified data source. Based on the ``Test Template`` -Keyword, DataDriver
180
- creates as much test cases as data sets are in the data source.
196
+ creates as many test cases as there are data sets in the data source.
181
197
 
182
- In the case that data source is csv (Default)
183
- As values for the arguments of the ``Test Template`` -Keyword, DataDriver
184
- reads values from the column of the CSV file with the matching name of the
185
- ``[Arguments]``.
198
+ If the data source is a csv file (default), DataDriver reads the values
199
+ for the arguments of the ``Test Template`` -Keyword from the columns of
200
+ the CSV file with the matching names of the ``[Arguments]``.
186
201
  For each line of the CSV data table, one test case will be created. It
187
202
  is also possible to specify test case names, tags and documentation for
188
203
  each test case in the specific test suite related CSV file.
@@ -199,7 +214,10 @@ To use it, just use it as Library in your suite. You may use the first
199
214
  argument (option) which may set the file name or path to the data file.
200
215
 
201
216
  Without any options set, it loads a .csv file which has the same name
202
- and path like the test suite .robot .
217
+ and path as the test suite .robot file.
218
+
219
+ Runnable examples are in the `example folder <https://github.com/Snooz82/robotframework-datadriver/tree/main/example>`_
220
+ of the repository. Its README describes the prerequisites.
203
221
 
204
222
 
205
223
 
@@ -223,14 +241,14 @@ Structure of Test Suite
223
241
  Requirements
224
242
  ~~~~~~~~~~~~
225
243
 
226
- In the Moment there are some requirements how a test
244
+ At the moment there are some requirements how a test
227
245
  suite must be structured so that the DataDriver can get all the
228
246
  information it needs.
229
247
 
230
248
  - only the first test case will be used as a template. All other test
231
249
  cases will be deleted.
232
250
  - Test cases have to be defined with a
233
- ``Test Template`` in Settings secion. Reason for this is,
251
+ ``Test Template`` in Settings section. Reason for this is,
234
252
  that the DataDriver needs to know the names of the test case arguments.
235
253
  Test cases do not have named arguments. Keywords do.
236
254
  - The keyword which is used as
@@ -245,7 +263,7 @@ Example Test Suite
245
263
 
246
264
  .. code :: robotframework
247
265
 
248
- ***Settings***
266
+ *** Settings ***
249
267
  Library DataDriver
250
268
  Resource login_resources.robot
251
269
  Suite Setup Open my Browser
@@ -253,10 +271,10 @@ Example Test Suite
253
271
  Test Setup Open Login Page
254
272
  Test Template Invalid Login
255
273
 
256
- *** Test Case ***
274
+ *** Test Cases ***
257
275
  Login with user ${username} and password ${password} Default UserData
258
276
 
259
- ***** *Keywords* *****
277
+ *** Keywords ***
260
278
  Invalid login
261
279
  [Arguments] ${username} ${password}
262
280
  Input username ${username}
@@ -348,16 +366,16 @@ Supported Data Types
348
366
  ~~~~~~~~~~~~~~~~~~~~
349
367
 
350
368
  In general DataDriver supports any Object that is handed over from the DataReader.
351
- However the text based readers for csv, excel and so do support different types as well.
369
+ However the text based readers for csv, excel and so on support different types as well.
352
370
  DataDriver supports Robot Framework® Scalar variables as well as Dictionaries and Lists.
353
- It also support python literal evaluations.
371
+ It also supports python literal evaluations.
354
372
 
355
373
  Scalar Variables
356
374
  ^^^^^^^^^^^^^^^^
357
375
 
358
376
  The Prefix ``$`` defines that the value in the cell is taken as in Robot Framework® Syntax.
359
377
  ``String`` is ``str``, ``${1}`` is ``int`` and ``${None}`` is NoneType.
360
- The Prefix only defines the value typ. It can also be used to assign a scalar to a dictionary key.
378
+ The Prefix only defines the value type. It can also be used to assign a scalar to a dictionary key.
361
379
  See example table: ``${user}[id]``
362
380
 
363
381
 
@@ -367,7 +385,7 @@ Dictionary Variables
367
385
  Dictionaries can be created in different ways.
368
386
 
369
387
  One option is, to use the prefix ``&``.
370
- If a variable is defined that was (i.e. ``&{dict}``) the cell value is interpreted the same way,
388
+ If a variable is defined that way (i.e. ``&{dict}``), the cell value is interpreted the same way
371
389
  the BuiltIn keyword `Create Dictionary <https://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Create%20Dictionary>`_ would do.
372
390
  The arguments here are comma (``,``) separated.
373
391
  See example table: ``&{dict}``
@@ -383,7 +401,7 @@ List Variables
383
401
  Lists can be created with the prefix ``@`` as comma (``,``) separated list.
384
402
  See example table: ``@{list}``
385
403
 
386
- Be aware that a list with an empty string has to be the cell content `${Empty}`.
404
+ Be aware that a list with an empty string as only item has to be the cell content ``${Empty}``.
387
405
 
388
406
  Python Literals
389
407
  ^^^^^^^^^^^^^^^
@@ -415,8 +433,8 @@ See example table: ``e{user.chk}``
415
433
  Accessing Test Data From Robot Variables
416
434
  ----------------------------------------
417
435
 
418
- If neccesary it is possible to access the fetched data tables directly from a Robot Framework® variable.
419
- This could be helpfull in Test Setup or in Suite Setup.
436
+ If necessary it is possible to access the fetched data tables directly from a Robot Framework® variable.
437
+ This could be helpful in Test Setup or in Suite Setup.
420
438
 
421
439
  There are three variables available within the Data-Driven Suite:
422
440
 
@@ -671,6 +689,14 @@ By default DataDriver reads csv files. With the `Encoding and CSV
671
689
  Dialect <#file-encoding-and-csv-dialect>`__ settings you may configure which
672
690
  structure your data source has.
673
691
 
692
+ DataDriver selects the reader by the file extension and there is no reader for ``.tsv``.
693
+ To read a tab separated file with the extension ``.tsv``, set the csv reader and the dialect:
694
+
695
+ .. code :: robotframework
696
+
697
+ *** Settings ***
698
+ Library DataDriver file=my_data.tsv reader_class=csv_reader dialect=excel-tab
699
+
674
700
 
675
701
  XLS / XLSX Files
676
702
  ~~~~~~~~~~~~~~~~
@@ -678,11 +704,11 @@ XLS / XLSX Files
678
704
  To use Excel file types, you have to install DataDriver with the Extra XLS.
679
705
 
680
706
  If you want to use Excel based data sources, you may just set the file
681
- to the extention or you may point to the correct file. If the extention
707
+ to the extension or you may point to the correct file. If the extension
682
708
  is ".xls" or ".xlsx" DataDriver will interpret it as Excel file.
683
709
  You may select the sheet which will be read by the option ``sheet_name``.
684
710
  By default it is set to 0 which will be the first table sheet.
685
- You may use sheet index (0 is first sheet) or sheet name(case sensitive).
711
+ You may use sheet index (0 is first sheet) or sheet name (case sensitive).
686
712
  XLS interpreter will ignore all other options like encoding, delimiters etc.
687
713
 
688
714
  .. code :: robotframework
@@ -701,13 +727,13 @@ or:
701
727
  MS Excel and typed cells
702
728
  ^^^^^^^^^^^^^^^^^^^^^^^^
703
729
 
704
- Microsoft Excel xls or xlsx file have the possibility to type thair data
730
+ Microsoft Excel xls or xlsx files have the possibility to type their data
705
731
  cells. Numbers are typically of the type float. If these data are not
706
732
  explicitly defined as text in Excel, pandas will read it as the type
707
- that is has in excel. Because we have to work with strings in Robot
733
+ that it has in Excel. Because we have to work with strings in Robot
708
734
  Framework® these data are converted to string. This leads to the
709
- situation that a European time value like "04.02.2019" (4th January
710
- 2019) is handed over to Robot Framework® in Iso time "2019-01-04
735
+ situation that a European date value like "04.02.2019" (4th February
736
+ 2019) is handed over to Robot Framework® in ISO format "2019-02-04
711
737
  00:00:00". This may cause unwanted behavior. To mitigate this risk you
712
738
  should define Excel based files explicitly as text within Excel.
713
739
 
@@ -733,26 +759,27 @@ Documentation: https://github.com/Microsoft/pict/blob/master/doc/pict.md
733
759
  Requirements of PICT
734
760
  ^^^^^^^^^^^^^^^^^^^^
735
761
 
736
- - Path to pict.exe must be set in the %PATH% environment variable.
737
- - Data model file has the file extention ".pict"
738
- - Pict model file must be encoded in UTF-8
762
+ - The ``pict`` executable (``pict.exe`` on Windows) must be in the ``PATH`` environment variable.
763
+ On Linux and macOS PICT can be built from source.
764
+ - Data model file has the file extension ".pict"
765
+ - PICT model file must be encoded in UTF-8
739
766
 
740
767
 
741
768
  How it works
742
769
  ^^^^^^^^^^^^
743
770
 
744
- If the file option is set to a file with the extention pict, DataDriver
745
- will hand over this file to pict.exe and let it automatically generates
746
- a file with the extention ".pictout". This file will the be used as data
747
- source for the test generation. (It is tab seperated and UTF-8 encoded)
748
- Except the file option all other options of the library will be ignored.
771
+ If the file option is set to a file with the extension pict, DataDriver
772
+ will hand over this file to pict and let it automatically generate
773
+ a file with the extension ".pictout". This file will then be used as data
774
+ source for the test generation. (It is tab separated and UTF-8 encoded)
775
+ Except ``file`` and ``pict_options``, all other options of the library will be ignored.
749
776
 
750
777
  .. code :: robotframework
751
778
 
752
779
  *** Settings ***
753
780
  Library DataDriver my_model_file.pict
754
781
 
755
- It is possible to give options to pict with the import argument `pict_options=`.
782
+ It is possible to give options to pict with the import argument ``pict_options=``.
756
783
 
757
784
  .. code :: robotframework
758
785
 
@@ -870,6 +897,7 @@ dialect=
870
897
 
871
898
  You may change the CSV Dialect here.
872
899
  The dialect option can be one of the following:
900
+
873
901
  - Excel-EU
874
902
  - excel
875
903
  - excel-tab
@@ -928,14 +956,14 @@ Usage in Robot Framework®
928
956
  .. code :: robotframework
929
957
 
930
958
  *** Settings ***
931
- Library DataDriver my_data_file.csv dialect=excel_tab
959
+ Library DataDriver my_data_file.csv dialect=excel-tab
932
960
 
933
961
 
934
962
 
935
963
  .. code :: robotframework
936
964
 
937
965
  *** Settings ***
938
- Library DataDriver my_data_file.csv dialect=unix_dialect
966
+ Library DataDriver my_data_file.csv dialect=unix
939
967
 
940
968
 
941
969
 
@@ -989,7 +1017,7 @@ Using Custom DataReader
989
1017
  ~~~~~~~~~~~~~~~~~~~~~~~
990
1018
 
991
1019
  DataReader classes are loaded dynamically into DataDriver while runtime.
992
- DataDriver identifies the DataReader to load by the file extantion of the data file or by the option ``reader_class``.
1020
+ DataDriver identifies the DataReader to load by the file extension of the data file or by the option ``reader_class``.
993
1021
 
994
1022
 
995
1023
  Select Reader by File Extension:
@@ -1009,9 +1037,9 @@ Select Reader by Option:
1009
1037
  .. code :: robotframework
1010
1038
 
1011
1039
  *** Settings ***
1012
- Library DataDriver file=mydata.csv reader_class=generic_csv_reader dialect=userdefined delimiter=\\t encoding=UTF-8
1040
+ Library DataDriver file=mydata.csv reader_class=generic_csv_reader dialect=userdefined delimiter=\\t encoding=UTF-8
1013
1041
 
1014
- This will load the class ``generic_csv_reader`` from ``generic_csv_reader.py`` from same folder.
1042
+ This will load the class ``generic_csv_reader`` from ``generic_csv_reader.py`` from the same folder.
1015
1043
 
1016
1044
 
1017
1045
  Create Custom Reader
@@ -1076,7 +1104,7 @@ See other readers as example.
1076
1104
  Selection of Test Cases to Execute
1077
1105
  ----------------------------------
1078
1106
 
1079
- Because test cases that are created by DataDriver after parsing while execution,
1107
+ Because test cases are created by DataDriver during execution after parsing,
1080
1108
  it is not possible to use some Robot Framework® methods to select test cases.
1081
1109
 
1082
1110
 
@@ -1121,7 +1149,7 @@ Select a list of test cases:
1121
1149
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1122
1150
 
1123
1151
  It is possible to set a list of test case names by using the variable ${DYNAMICTESTS} (plural).
1124
- This variable must be a string and the list of names must be pipe-seperated (``|``).
1152
+ This variable must be a string and the list of names must be pipe-separated (``|``).
1125
1153
 
1126
1154
  Example:
1127
1155
 
@@ -1131,6 +1159,11 @@ Example:
1131
1159
 
1132
1160
  It is also possible to set the variable @{DYNAMICTESTS} as a list variable from i.e. python code.
1133
1161
 
1162
+ **Note:** DataDriver uses ``${DYNAMICTEST}`` and ``${DYNAMICTESTS}`` internally to hand over
1163
+ the selected tests to the pabot processes. If you set one of them yourself, DataDriver does not
1164
+ distribute the tests of that suite with ``pabot --testlevelsplit``; they are executed in one process.
1165
+ Use tags to select tests if you want to run them in parallel.
1166
+
1134
1167
 
1135
1168
  Re-run failed test cases:
1136
1169
  ~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1154,10 +1187,12 @@ Example:
1154
1187
  robot --prerunmodifier DataDriver.rerunfailed:original.xml --output rerun.xml tests # then re-execute failing
1155
1188
  rebot --merge original.xml rerun.xml # finally merge results
1156
1189
 
1190
+ This also works with ``pabot --testlevelsplit``: the failed tests are distributed to the pabot processes.
1191
+
1157
1192
 
1158
1193
  Be aware, that in this case it is not allowed to use "``:``" as character in the original output file path.
1159
1194
  If you want to set a full path on windows like ``e:\\myrobottest\\output.xml`` you have to use "``;``"
1160
- as argument seperator.
1195
+ as argument separator.
1161
1196
 
1162
1197
  Example:
1163
1198
 
@@ -1183,7 +1218,7 @@ To filter the source, the normal command line arguments of Robot Framework® can
1183
1218
  See Robot Framework® Userguide_ for more information
1184
1219
  Be aware that the filtering of Robot Framework® itself is done before DataDriver is called.
1185
1220
  This means if the Template test is already filtered out by Robot Framework®, DataDriver can never be called.
1186
- If you want to use ``--include`` the DataDriver TestSuite should have a ``DefaultTag`` or ``ForceTag`` that
1221
+ If you want to use ``--include`` the DataDriver TestSuite should have ``Test Tags`` (or ``[Tags]`` on the template test) that
1187
1222
  fulfills these requirements.
1188
1223
 
1189
1224
  .. _Userguide: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#tag-patterns
@@ -1243,7 +1278,7 @@ Usage in Robot Framework®
1243
1278
  Create File ${CURDIR}/test321.csv
1244
1279
  ... *** Test Cases ***,\\${var},\\n123,111,\\n321,222, # generating file
1245
1280
  ${new_config}= Create Dictionary file=test321.csv # set file attribute in a dictionary
1246
- [Return] ${new_config} # returns {'file': 'test321.csv'}
1281
+ RETURN ${new_config} # returns {'file': 'test321.csv'}
1247
1282
 
1248
1283
 
1249
1284
 
@@ -1256,16 +1291,16 @@ DataDriver supports ``--testlevelsplit`` from pabot only if the PabotLib is in u
1256
1291
  Use ``--pabotlib`` to enable that.
1257
1292
 
1258
1293
  When using pabot like this, DataDriver automatically splits the amount of test cases into nearly same sized groups.
1259
- Is uses the processes count from pabot to calculate the groups.
1294
+ It uses the processes count from pabot to calculate the groups.
1260
1295
  When using 8 processes with 100 test cases you will get 8 groups of tests with the size of 12 to 13 tests.
1261
1296
  These 8 groups are then executed as one block with 8 processes.
1262
1297
  This reduces a lot of overhead with Suite Setup and Teardown.
1263
1298
 
1264
1299
  You can switch between three modes:
1265
1300
 
1266
- - ``Equal``: means it creates equal sizes groups
1267
- - ``Binary``: is more complex. it created a decreasing size of containers to support better balancing.
1268
- - ``Atomic``: it does not group tests at all and runs really each test case in a separate thread.
1301
+ - ``Equal``: means it creates equal sized groups
1302
+ - ``Binary``: is more complex. It creates containers of decreasing size to support better balancing.
1303
+ - ``Atomic``: it does not group tests at all and runs each test case in a separate process.
1269
1304
 
1270
1305
  This can be set by ``optimize_pabot`` in Library import.
1271
1306
 
@@ -1297,3 +1332,49 @@ Binary creates with 40 test cases and 8 threads something like that:
1297
1332
  P14: 38
1298
1333
  P15: 39
1299
1334
  P16: 40
1335
+
1336
+
1337
+ Choose the mode for the whole run:
1338
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1339
+
1340
+ Which mode fits best often depends on the run (number of processes, machine, test duration)
1341
+ and not on the suite. Set the variable ``${DATADRIVER_OPTIMIZE_PABOT}`` when you start pabot
1342
+ to use one mode for all DataDriver suites of the run:
1343
+
1344
+ .. code ::
1345
+
1346
+ pabot --testlevelsplit --pabotlib --variable DATADRIVER_OPTIMIZE_PABOT:Binary tests
1347
+
1348
+ ``${DATADRIVER_OPTIMIZE_PABOT}`` is a global override: it wins over ``optimize_pabot`` in the
1349
+ Library import of every suite. Allowed values are ``Equal``, ``Binary`` and ``Atomic``
1350
+ (case-insensitive). Any other value, also an empty one, fails every DataDriver suite,
1351
+ also in a run without pabot.
1352
+
1353
+
1354
+ Choose the mode per suite with your own variable:
1355
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1356
+
1357
+ If only some suites shall follow the run, use your own variable in the Library import of
1358
+ these suites and give it a default value. Suites without that variable keep their own mode.
1359
+
1360
+ .. code :: robotframework
1361
+
1362
+ *** Settings ***
1363
+ Library DataDriver optimize_pabot=${PABOT_MODE}
1364
+
1365
+ *** Variables ***
1366
+ ${PABOT_MODE} Equal
1367
+
1368
+ .. code ::
1369
+
1370
+ pabot --testlevelsplit --pabotlib --variable PABOT_MODE:Atomic tests
1371
+
1372
+ The default value can also be defined once in a resource file or variable file that the
1373
+ suites import.
1374
+
1375
+ The mode of a suite is taken from (first match wins):
1376
+
1377
+ 1. ``${DATADRIVER_OPTIMIZE_PABOT}``
1378
+ 2. ``optimize_pabot`` in the Library import (directly or by your own variable),
1379
+ or returned by the ``config_keyword``
1380
+ 3. the default ``Equal``