hiptest-publisher-fork 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (498) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +295 -0
  3. data/LICENSE +21 -0
  4. data/README.md +265 -0
  5. data/bin/hiptest-publisher +47 -0
  6. data/config/i18n-tasks.yml +137 -0
  7. data/config/locales/en.yml +250 -0
  8. data/lib/config/behat.conf +44 -0
  9. data/lib/config/behave.conf +40 -0
  10. data/lib/config/csharp-nunit.conf +15 -0
  11. data/lib/config/cucumber-groovy.conf +40 -0
  12. data/lib/config/cucumber-java.conf +24 -0
  13. data/lib/config/cucumber-javascript.conf +23 -0
  14. data/lib/config/cucumber-ruby.conf +22 -0
  15. data/lib/config/cucumber-typescript.conf +41 -0
  16. data/lib/config/cucumber_legacy-groovy.conf +40 -0
  17. data/lib/config/cucumber_legacy-java.conf +24 -0
  18. data/lib/config/cucumber_legacy-typescript.conf +41 -0
  19. data/lib/config/groovy-spock.conf +25 -0
  20. data/lib/config/java-espresso.conf +15 -0
  21. data/lib/config/java-junit.conf +21 -0
  22. data/lib/config/java-testng.conf +15 -0
  23. data/lib/config/javascript-codeceptjs.conf +23 -0
  24. data/lib/config/javascript-jasmine.conf +12 -0
  25. data/lib/config/javascript-mocha.conf +12 -0
  26. data/lib/config/javascript-protractor.conf +12 -0
  27. data/lib/config/javascript-qunit.conf +12 -0
  28. data/lib/config/jbehave.conf +24 -0
  29. data/lib/config/php-phpunit.conf +14 -0
  30. data/lib/config/python-unittest.conf +13 -0
  31. data/lib/config/robotframework.conf +13 -0
  32. data/lib/config/ruby-minitest.conf +11 -0
  33. data/lib/config/ruby-rspec.conf +11 -0
  34. data/lib/config/seleniumide.conf +12 -0
  35. data/lib/config/specflow.conf +25 -0
  36. data/lib/config/swift-xctest.conf +18 -0
  37. data/lib/hiptest-publisher/cli_options_checker.rb +270 -0
  38. data/lib/hiptest-publisher/client.rb +326 -0
  39. data/lib/hiptest-publisher/export_cache.rb +85 -0
  40. data/lib/hiptest-publisher/file_writer.rb +30 -0
  41. data/lib/hiptest-publisher/formatters/console_formatter.rb +101 -0
  42. data/lib/hiptest-publisher/formatters/diff_displayer.rb +173 -0
  43. data/lib/hiptest-publisher/formatters/reporter.rb +74 -0
  44. data/lib/hiptest-publisher/handlebars_helper.rb +314 -0
  45. data/lib/hiptest-publisher/i18n.rb +5 -0
  46. data/lib/hiptest-publisher/indexers/actionword_indexer.rb +32 -0
  47. data/lib/hiptest-publisher/indexers/library_actionword_indexer.rb +32 -0
  48. data/lib/hiptest-publisher/node_modifiers/actionword_uniq_renamer.rb +39 -0
  49. data/lib/hiptest-publisher/node_modifiers/add_all.rb +21 -0
  50. data/lib/hiptest-publisher/node_modifiers/call_arguments_adder.rb +46 -0
  51. data/lib/hiptest-publisher/node_modifiers/datatable_fixer.rb +32 -0
  52. data/lib/hiptest-publisher/node_modifiers/gherkin_adder.rb +252 -0
  53. data/lib/hiptest-publisher/node_modifiers/items_orderer.rb +33 -0
  54. data/lib/hiptest-publisher/node_modifiers/parameter_type_adder.rb +141 -0
  55. data/lib/hiptest-publisher/node_modifiers/parent_adder.rb +18 -0
  56. data/lib/hiptest-publisher/nodes.rb +601 -0
  57. data/lib/hiptest-publisher/nodes_walker.rb +34 -0
  58. data/lib/hiptest-publisher/options_parser.rb +826 -0
  59. data/lib/hiptest-publisher/project_grapher.rb +94 -0
  60. data/lib/hiptest-publisher/render_context_maker.rb +194 -0
  61. data/lib/hiptest-publisher/renderer.rb +52 -0
  62. data/lib/hiptest-publisher/renderer_addons/behave_addon.rb +23 -0
  63. data/lib/hiptest-publisher/renderer_addons/gherkin_addon.rb +59 -0
  64. data/lib/hiptest-publisher/renderer_addons/groovy_spock_addon.rb +34 -0
  65. data/lib/hiptest-publisher/renderer_addons/robot_framework_addon.rb +42 -0
  66. data/lib/hiptest-publisher/renderer_addons.rb +4 -0
  67. data/lib/hiptest-publisher/signature_differ.rb +105 -0
  68. data/lib/hiptest-publisher/signature_exporter.rb +56 -0
  69. data/lib/hiptest-publisher/string.rb +76 -0
  70. data/lib/hiptest-publisher/utils.rb +39 -0
  71. data/lib/hiptest-publisher/version_checker.rb +41 -0
  72. data/lib/hiptest-publisher/xml_parser.rb +407 -0
  73. data/lib/hiptest-publisher.rb +261 -0
  74. data/lib/templates/behat/actionword.hbs +8 -0
  75. data/lib/templates/behat/actionwords/parameter.hbs +1 -0
  76. data/lib/templates/behat/actionwords.hbs +16 -0
  77. data/lib/templates/behat/library.hbs +16 -0
  78. data/lib/templates/behat/libraryactionword.hbs +8 -0
  79. data/lib/templates/behat/parameter.hbs +1 -0
  80. data/lib/templates/behave/actionword.hbs +4 -0
  81. data/lib/templates/behave/actionwords.hbs +12 -0
  82. data/lib/templates/behave/library.hbs +7 -0
  83. data/lib/templates/behave/libraryactionword.hbs +4 -0
  84. data/lib/templates/behave/nullliteral.hbs +1 -0
  85. data/lib/templates/common/_gherkin_pattern.hbs +1 -0
  86. data/lib/templates/common/_gherkin_typed_pattern.hbs +1 -0
  87. data/lib/templates/common/booleanliteral.hbs +1 -0
  88. data/lib/templates/common/dataset.hbs +0 -0
  89. data/lib/templates/common/datatable.hbs +3 -0
  90. data/lib/templates/common/empty.hbs +0 -0
  91. data/lib/templates/common/nullliteral.hbs +1 -0
  92. data/lib/templates/common/numericliteral.hbs +1 -0
  93. data/lib/templates/common/stringliteral.hbs +1 -0
  94. data/lib/templates/common/symbol.hbs +1 -0
  95. data/lib/templates/common/unaryexpression.hbs +1 -0
  96. data/lib/templates/common/variable.hbs +1 -0
  97. data/lib/templates/csharp/_body.hbs +5 -0
  98. data/lib/templates/csharp/_item_as_function.hbs +8 -0
  99. data/lib/templates/csharp/_scenario.hbs +8 -0
  100. data/lib/templates/csharp/actionword.hbs +1 -0
  101. data/lib/templates/csharp/actionwords.hbs +10 -0
  102. data/lib/templates/csharp/argument.hbs +1 -0
  103. data/lib/templates/csharp/assign.hbs +1 -0
  104. data/lib/templates/csharp/binaryexpression.hbs +1 -0
  105. data/lib/templates/csharp/call.hbs +2 -0
  106. data/lib/templates/csharp/dataset.hbs +4 -0
  107. data/lib/templates/csharp/dict.hbs +1 -0
  108. data/lib/templates/csharp/field.hbs +1 -0
  109. data/lib/templates/csharp/folder.hbs +22 -0
  110. data/lib/templates/csharp/ifthen.hbs +7 -0
  111. data/lib/templates/csharp/index.hbs +1 -0
  112. data/lib/templates/csharp/list.hbs +1 -0
  113. data/lib/templates/csharp/nullliteral.hbs +1 -0
  114. data/lib/templates/csharp/parameter.hbs +1 -0
  115. data/lib/templates/csharp/parenthesis.hbs +1 -0
  116. data/lib/templates/csharp/property.hbs +1 -0
  117. data/lib/templates/csharp/scenario.hbs +1 -0
  118. data/lib/templates/csharp/scenarios.hbs +20 -0
  119. data/lib/templates/csharp/single_scenario.hbs +16 -0
  120. data/lib/templates/csharp/single_test.hbs +15 -0
  121. data/lib/templates/csharp/step.hbs +1 -0
  122. data/lib/templates/csharp/stringliteral.hbs +1 -0
  123. data/lib/templates/csharp/tag.hbs +1 -0
  124. data/lib/templates/csharp/template.hbs +1 -0
  125. data/lib/templates/csharp/test.hbs +1 -0
  126. data/lib/templates/csharp/tests.hbs +15 -0
  127. data/lib/templates/csharp/variable.hbs +1 -0
  128. data/lib/templates/csharp/while.hbs +4 -0
  129. data/lib/templates/cucumber/actionword.hbs +5 -0
  130. data/lib/templates/cucumber/actionwords.hbs +5 -0
  131. data/lib/templates/cucumber/groovy/step-definitions/_gherkin_pattern.hbs +1 -0
  132. data/lib/templates/cucumber/groovy/step-definitions/actionword.hbs +5 -0
  133. data/lib/templates/cucumber/groovy/step-definitions/actionwords.hbs +11 -0
  134. data/lib/templates/cucumber/groovy/step-definitions/library.hbs +11 -0
  135. data/lib/templates/cucumber/groovy/step-definitions/libraryactionword.hbs +5 -0
  136. data/lib/templates/cucumber/groovy/step-definitions/parameter.hbs +1 -0
  137. data/lib/templates/cucumber/java/actionword.hbs +6 -0
  138. data/lib/templates/cucumber/java/actionwords/parameter.hbs +1 -0
  139. data/lib/templates/cucumber/java/actionwords.hbs +12 -0
  140. data/lib/templates/cucumber/java/parameter.hbs +1 -0
  141. data/lib/templates/cucumber/javascript/_after_hook.hbs +4 -0
  142. data/lib/templates/cucumber/javascript/_before_hook.hbs +4 -0
  143. data/lib/templates/cucumber/javascript/actionword.hbs +6 -0
  144. data/lib/templates/cucumber/javascript/actionwords.hbs +8 -0
  145. data/lib/templates/cucumber/parameter.hbs +1 -0
  146. data/lib/templates/cucumber/typescript/_after_hook.hbs +4 -0
  147. data/lib/templates/cucumber/typescript/_before_hook.hbs +4 -0
  148. data/lib/templates/cucumber/typescript/actionword.hbs +5 -0
  149. data/lib/templates/cucumber/typescript/actionwords.hbs +10 -0
  150. data/lib/templates/cucumber/typescript/library.hbs +12 -0
  151. data/lib/templates/cucumber/typescript/libraryactionword.hbs +5 -0
  152. data/lib/templates/cucumber_legacy/groovy/step-definitions/actionword.hbs +5 -0
  153. data/lib/templates/cucumber_legacy/groovy/step-definitions/actionwords.hbs +10 -0
  154. data/lib/templates/cucumber_legacy/groovy/step-definitions/library.hbs +10 -0
  155. data/lib/templates/cucumber_legacy/groovy/step-definitions/libraryactionword.hbs +5 -0
  156. data/lib/templates/cucumber_legacy/java/actionword.hbs +6 -0
  157. data/lib/templates/cucumber_legacy/java/actionwords.hbs +12 -0
  158. data/lib/templates/cucumber_legacy/typescript/actionword.hbs +5 -0
  159. data/lib/templates/cucumber_legacy/typescript/libraryactionword.hbs +5 -0
  160. data/lib/templates/gherkin/_call.hbs +5 -0
  161. data/lib/templates/gherkin/_gherkin_text.hbs +1 -0
  162. data/lib/templates/gherkin/_scenario.hbs +18 -0
  163. data/lib/templates/gherkin/_scenario_outline_title.hbs +1 -0
  164. data/lib/templates/gherkin/argument.hbs +1 -0
  165. data/lib/templates/gherkin/call.hbs +1 -0
  166. data/lib/templates/gherkin/dataset.hbs +1 -0
  167. data/lib/templates/gherkin/datatable.hbs +2 -0
  168. data/lib/templates/gherkin/folder.hbs +10 -0
  169. data/lib/templates/gherkin/inlined_uids/_scenario_outline_title.hbs +1 -0
  170. data/lib/templates/gherkin/java/single_scenario.hbs +1 -0
  171. data/lib/templates/gherkin/parameter.hbs +1 -0
  172. data/lib/templates/gherkin/scenarios.hbs +3 -0
  173. data/lib/templates/gherkin/single_scenario.hbs +1 -0
  174. data/lib/templates/gherkin/single_test.hbs +3 -0
  175. data/lib/templates/gherkin/step.hbs +1 -0
  176. data/lib/templates/gherkin/stringliteral.hbs +1 -0
  177. data/lib/templates/gherkin/tag.hbs +1 -0
  178. data/lib/templates/gherkin/template.hbs +1 -0
  179. data/lib/templates/groovy/_body.hbs +8 -0
  180. data/lib/templates/groovy/_desc.hbs +5 -0
  181. data/lib/templates/groovy/_scenario.hbs +10 -0
  182. data/lib/templates/groovy/_steps.hbs +4 -0
  183. data/lib/templates/groovy/_test.hbs +4 -0
  184. data/lib/templates/groovy/actionword.hbs +2 -0
  185. data/lib/templates/groovy/actionwords.hbs +7 -0
  186. data/lib/templates/groovy/assign.hbs +1 -0
  187. data/lib/templates/groovy/call.hbs +2 -0
  188. data/lib/templates/groovy/dataset.hbs +1 -0
  189. data/lib/templates/groovy/datatable.hbs +2 -0
  190. data/lib/templates/groovy/dict.hbs +1 -0
  191. data/lib/templates/groovy/folder.hbs +18 -0
  192. data/lib/templates/groovy/index.hbs +1 -0
  193. data/lib/templates/groovy/libraries.hbs +9 -0
  194. data/lib/templates/groovy/library.hbs +8 -0
  195. data/lib/templates/groovy/libraryactionword.hbs +2 -0
  196. data/lib/templates/groovy/list.hbs +1 -0
  197. data/lib/templates/groovy/nullliteral.hbs +1 -0
  198. data/lib/templates/groovy/parameter.hbs +1 -0
  199. data/lib/templates/groovy/property.hbs +1 -0
  200. data/lib/templates/groovy/scenario.hbs +1 -0
  201. data/lib/templates/groovy/scenarios.hbs +10 -0
  202. data/lib/templates/groovy/single_scenario.hbs +9 -0
  203. data/lib/templates/groovy/single_test.hbs +10 -0
  204. data/lib/templates/groovy/template.hbs +1 -0
  205. data/lib/templates/groovy/test.hbs +1 -0
  206. data/lib/templates/groovy/tests.hbs +10 -0
  207. data/lib/templates/java/_body.hbs +5 -0
  208. data/lib/templates/java/_item_as_function.hbs +8 -0
  209. data/lib/templates/java/_scenario.hbs +7 -0
  210. data/lib/templates/java/actionword.hbs +1 -0
  211. data/lib/templates/java/actionwords.hbs +8 -0
  212. data/lib/templates/java/argument.hbs +1 -0
  213. data/lib/templates/java/assign.hbs +1 -0
  214. data/lib/templates/java/binaryexpression.hbs +1 -0
  215. data/lib/templates/java/call.hbs +2 -0
  216. data/lib/templates/java/dataset.hbs +3 -0
  217. data/lib/templates/java/dict.hbs +1 -0
  218. data/lib/templates/java/espresso/_scenario.hbs +8 -0
  219. data/lib/templates/java/espresso/dataset.hbs +4 -0
  220. data/lib/templates/java/espresso/folder.hbs +29 -0
  221. data/lib/templates/java/espresso/scenarios.hbs +23 -0
  222. data/lib/templates/java/espresso/single_scenario.hbs +24 -0
  223. data/lib/templates/java/espresso/single_test.hbs +22 -0
  224. data/lib/templates/java/espresso/tests.hbs +23 -0
  225. data/lib/templates/java/field.hbs +1 -0
  226. data/lib/templates/java/folder.hbs +18 -0
  227. data/lib/templates/java/ifthen.hbs +7 -0
  228. data/lib/templates/java/index.hbs +1 -0
  229. data/lib/templates/java/libraries.hbs +9 -0
  230. data/lib/templates/java/library.hbs +7 -0
  231. data/lib/templates/java/libraryactionword.hbs +1 -0
  232. data/lib/templates/java/list.hbs +1 -0
  233. data/lib/templates/java/nullliteral.hbs +1 -0
  234. data/lib/templates/java/parameter.hbs +1 -0
  235. data/lib/templates/java/parenthesis.hbs +1 -0
  236. data/lib/templates/java/property.hbs +1 -0
  237. data/lib/templates/java/scenario.hbs +1 -0
  238. data/lib/templates/java/scenarios.hbs +11 -0
  239. data/lib/templates/java/single_scenario.hbs +12 -0
  240. data/lib/templates/java/single_test.hbs +11 -0
  241. data/lib/templates/java/step.hbs +1 -0
  242. data/lib/templates/java/stringliteral.hbs +1 -0
  243. data/lib/templates/java/tag.hbs +1 -0
  244. data/lib/templates/java/template.hbs +1 -0
  245. data/lib/templates/java/test.hbs +1 -0
  246. data/lib/templates/java/testng/_scenario.hbs +8 -0
  247. data/lib/templates/java/testng/dataset.hbs +4 -0
  248. data/lib/templates/java/testng/folder.hbs +19 -0
  249. data/lib/templates/java/testng/scenarios.hbs +16 -0
  250. data/lib/templates/java/testng/single_scenario.hbs +12 -0
  251. data/lib/templates/java/testng/single_test.hbs +11 -0
  252. data/lib/templates/java/testng/tests.hbs +16 -0
  253. data/lib/templates/java/tests.hbs +11 -0
  254. data/lib/templates/java/variable.hbs +1 -0
  255. data/lib/templates/java/while.hbs +4 -0
  256. data/lib/templates/javascript/_body.hbs +10 -0
  257. data/lib/templates/javascript/_item_as_function.hbs +3 -0
  258. data/lib/templates/javascript/_item_as_hash_key.hbs +3 -0
  259. data/lib/templates/javascript/_module_declaration.hbs +5 -0
  260. data/lib/templates/javascript/_scenario.hbs +4 -0
  261. data/lib/templates/javascript/actionword.hbs +1 -0
  262. data/lib/templates/javascript/actionwords.hbs +4 -0
  263. data/lib/templates/javascript/argument.hbs +1 -0
  264. data/lib/templates/javascript/assign.hbs +1 -0
  265. data/lib/templates/javascript/binaryexpression.hbs +1 -0
  266. data/lib/templates/javascript/call.hbs +2 -0
  267. data/lib/templates/javascript/codeceptjs/actionword.hbs +5 -0
  268. data/lib/templates/javascript/codeceptjs/actionwords.hbs +9 -0
  269. data/lib/templates/javascript/dataset.hbs +3 -0
  270. data/lib/templates/javascript/dict.hbs +1 -0
  271. data/lib/templates/javascript/es6/actionwords.hbs +4 -0
  272. data/lib/templates/javascript/field.hbs +1 -0
  273. data/lib/templates/javascript/folder.hbs +14 -0
  274. data/lib/templates/javascript/ifthen.hbs +7 -0
  275. data/lib/templates/javascript/index.hbs +1 -0
  276. data/lib/templates/javascript/jasmine/_before_each.hbs +3 -0
  277. data/lib/templates/javascript/jasmine/_scenario.hbs +8 -0
  278. data/lib/templates/javascript/jasmine/dataset.hbs +3 -0
  279. data/lib/templates/javascript/jasmine/folder.hbs +11 -0
  280. data/lib/templates/javascript/jasmine/scenarios.hbs +8 -0
  281. data/lib/templates/javascript/jasmine/single_scenario.hbs +6 -0
  282. data/lib/templates/javascript/jasmine/single_test.hbs +6 -0
  283. data/lib/templates/javascript/jasmine/tests.hbs +8 -0
  284. data/lib/templates/javascript/list.hbs +1 -0
  285. data/lib/templates/javascript/mocha/_before_each.hbs +4 -0
  286. data/lib/templates/javascript/mocha/folder.hbs +11 -0
  287. data/lib/templates/javascript/nullliteral.hbs +1 -0
  288. data/lib/templates/javascript/parameter.hbs +1 -0
  289. data/lib/templates/javascript/parenthesis.hbs +1 -0
  290. data/lib/templates/javascript/project.hbs +2 -0
  291. data/lib/templates/javascript/property.hbs +1 -0
  292. data/lib/templates/javascript/scenario.hbs +1 -0
  293. data/lib/templates/javascript/scenarios.hbs +8 -0
  294. data/lib/templates/javascript/single_scenario.hbs +6 -0
  295. data/lib/templates/javascript/single_test.hbs +6 -0
  296. data/lib/templates/javascript/step.hbs +1 -0
  297. data/lib/templates/javascript/tag.hbs +1 -0
  298. data/lib/templates/javascript/template.hbs +1 -0
  299. data/lib/templates/javascript/test.hbs +1 -0
  300. data/lib/templates/javascript/tests.hbs +8 -0
  301. data/lib/templates/javascript/while.hbs +5 -0
  302. data/lib/templates/jbehave/_scenario.hbs +9 -0
  303. data/lib/templates/jbehave/actionwords/parameter.hbs +1 -0
  304. data/lib/templates/jbehave/call.hbs +5 -0
  305. data/lib/templates/jbehave/folder.hbs +16 -0
  306. data/lib/templates/jbehave/single_test.hbs +3 -0
  307. data/lib/templates/jbehave/steps/_gherkin_pattern.hbs +1 -0
  308. data/lib/templates/jbehave/steps/actionword.hbs +6 -0
  309. data/lib/templates/jbehave/steps/actionwords.hbs +18 -0
  310. data/lib/templates/php/_body.hbs +9 -0
  311. data/lib/templates/php/_item_as_function.hbs +3 -0
  312. data/lib/templates/php/_scenario.hbs +4 -0
  313. data/lib/templates/php/_setup.hbs +4 -0
  314. data/lib/templates/php/actionword.hbs +1 -0
  315. data/lib/templates/php/actionwords.hbs +9 -0
  316. data/lib/templates/php/argument.hbs +1 -0
  317. data/lib/templates/php/assign.hbs +1 -0
  318. data/lib/templates/php/binaryexpression.hbs +1 -0
  319. data/lib/templates/php/call.hbs +2 -0
  320. data/lib/templates/php/dataset.hbs +3 -0
  321. data/lib/templates/php/dict.hbs +1 -0
  322. data/lib/templates/php/field.hbs +1 -0
  323. data/lib/templates/php/folder.hbs +17 -0
  324. data/lib/templates/php/ifthen.hbs +7 -0
  325. data/lib/templates/php/index.hbs +1 -0
  326. data/lib/templates/php/libraries.hbs +11 -0
  327. data/lib/templates/php/library.hbs +20 -0
  328. data/lib/templates/php/libraryactionword.hbs +1 -0
  329. data/lib/templates/php/list.hbs +1 -0
  330. data/lib/templates/php/nullliteral.hbs +1 -0
  331. data/lib/templates/php/parameter.hbs +1 -0
  332. data/lib/templates/php/parenthesis.hbs +1 -0
  333. data/lib/templates/php/project.hbs +2 -0
  334. data/lib/templates/php/property.hbs +1 -0
  335. data/lib/templates/php/scenario.hbs +1 -0
  336. data/lib/templates/php/scenarios.hbs +13 -0
  337. data/lib/templates/php/single_scenario.hbs +11 -0
  338. data/lib/templates/php/single_test.hbs +11 -0
  339. data/lib/templates/php/step.hbs +1 -0
  340. data/lib/templates/php/tag.hbs +1 -0
  341. data/lib/templates/php/template.hbs +1 -0
  342. data/lib/templates/php/test.hbs +1 -0
  343. data/lib/templates/php/tests.hbs +13 -0
  344. data/lib/templates/php/variable.hbs +1 -0
  345. data/lib/templates/php/while.hbs +5 -0
  346. data/lib/templates/python/_body.hbs +11 -0
  347. data/lib/templates/python/_item_as_def.hbs +2 -0
  348. data/lib/templates/python/_parameters.hbs +1 -0
  349. data/lib/templates/python/_scenario.hbs +4 -0
  350. data/lib/templates/python/actionword.hbs +1 -0
  351. data/lib/templates/python/actionwords.hbs +12 -0
  352. data/lib/templates/python/argument.hbs +1 -0
  353. data/lib/templates/python/assign.hbs +1 -0
  354. data/lib/templates/python/binaryexpression.hbs +1 -0
  355. data/lib/templates/python/booleanliteral.hbs +1 -0
  356. data/lib/templates/python/call.hbs +2 -0
  357. data/lib/templates/python/dataset.hbs +2 -0
  358. data/lib/templates/python/dict.hbs +1 -0
  359. data/lib/templates/python/field.hbs +1 -0
  360. data/lib/templates/python/folder.hbs +12 -0
  361. data/lib/templates/python/ifthen.hbs +4 -0
  362. data/lib/templates/python/index.hbs +1 -0
  363. data/lib/templates/python/libraries.hbs +9 -0
  364. data/lib/templates/python/library.hbs +17 -0
  365. data/lib/templates/python/libraryactionword.hbs +1 -0
  366. data/lib/templates/python/list.hbs +1 -0
  367. data/lib/templates/python/nullliteral.hbs +1 -0
  368. data/lib/templates/python/parameter.hbs +1 -0
  369. data/lib/templates/python/parenthesis.hbs +1 -0
  370. data/lib/templates/python/project.hbs +2 -0
  371. data/lib/templates/python/property.hbs +1 -0
  372. data/lib/templates/python/scenario.hbs +1 -0
  373. data/lib/templates/python/scenarios.hbs +11 -0
  374. data/lib/templates/python/single_scenario.hbs +9 -0
  375. data/lib/templates/python/single_test.hbs +9 -0
  376. data/lib/templates/python/step.hbs +1 -0
  377. data/lib/templates/python/tag.hbs +1 -0
  378. data/lib/templates/python/template.hbs +1 -0
  379. data/lib/templates/python/test.hbs +1 -0
  380. data/lib/templates/python/tests.hbs +11 -0
  381. data/lib/templates/python/unittest/actionwords.hbs +9 -0
  382. data/lib/templates/python/while.hbs +4 -0
  383. data/lib/templates/robotframework/_keyword.hbs +1 -0
  384. data/lib/templates/robotframework/_keyword_body.hbs +4 -0
  385. data/lib/templates/robotframework/_scenario.hbs +12 -0
  386. data/lib/templates/robotframework/actionword.hbs +3 -0
  387. data/lib/templates/robotframework/actionwords.hbs +4 -0
  388. data/lib/templates/robotframework/argument.hbs +1 -0
  389. data/lib/templates/robotframework/call.hbs +1 -0
  390. data/lib/templates/robotframework/dataset.hbs +1 -0
  391. data/lib/templates/robotframework/datatable.hbs +2 -0
  392. data/lib/templates/robotframework/folder.hbs +35 -0
  393. data/lib/templates/robotframework/ifthen.hbs +1 -0
  394. data/lib/templates/robotframework/parameter.hbs +1 -0
  395. data/lib/templates/robotframework/property.hbs +1 -0
  396. data/lib/templates/robotframework/scenarios.hbs +25 -0
  397. data/lib/templates/robotframework/single_scenario.hbs +10 -0
  398. data/lib/templates/robotframework/single_test.hbs +10 -0
  399. data/lib/templates/robotframework/stringliteral.hbs +1 -0
  400. data/lib/templates/robotframework/template.hbs +1 -0
  401. data/lib/templates/robotframework/test.hbs +1 -0
  402. data/lib/templates/robotframework/tests.hbs +7 -0
  403. data/lib/templates/robotframework/variable.hbs +1 -0
  404. data/lib/templates/robotframework/while.hbs +1 -0
  405. data/lib/templates/ruby/_body.hbs +10 -0
  406. data/lib/templates/ruby/_item_as_def.hbs +3 -0
  407. data/lib/templates/ruby/_scenario.hbs +5 -0
  408. data/lib/templates/ruby/actionword.hbs +1 -0
  409. data/lib/templates/ruby/actionwords.hbs +6 -0
  410. data/lib/templates/ruby/argument.hbs +1 -0
  411. data/lib/templates/ruby/assign.hbs +1 -0
  412. data/lib/templates/ruby/binaryexpression.hbs +1 -0
  413. data/lib/templates/ruby/call.hbs +2 -0
  414. data/lib/templates/ruby/dataset.hbs +3 -0
  415. data/lib/templates/ruby/dict.hbs +1 -0
  416. data/lib/templates/ruby/field.hbs +1 -0
  417. data/lib/templates/ruby/folder.hbs +16 -0
  418. data/lib/templates/ruby/ifthen.hbs +7 -0
  419. data/lib/templates/ruby/index.hbs +1 -0
  420. data/lib/templates/ruby/list.hbs +1 -0
  421. data/lib/templates/ruby/minitest/_item_as_def.hbs +3 -0
  422. data/lib/templates/ruby/minitest/_scenario.hbs +4 -0
  423. data/lib/templates/ruby/minitest/dataset.hbs +3 -0
  424. data/lib/templates/ruby/minitest/folder.hbs +18 -0
  425. data/lib/templates/ruby/minitest/scenario.hbs +1 -0
  426. data/lib/templates/ruby/minitest/scenarios.hbs +13 -0
  427. data/lib/templates/ruby/minitest/single_scenario.hbs +11 -0
  428. data/lib/templates/ruby/minitest/single_test.hbs +11 -0
  429. data/lib/templates/ruby/minitest/test.hbs +1 -0
  430. data/lib/templates/ruby/minitest/tests.hbs +13 -0
  431. data/lib/templates/ruby/parameter.hbs +1 -0
  432. data/lib/templates/ruby/parenthesis.hbs +1 -0
  433. data/lib/templates/ruby/project.hbs +2 -0
  434. data/lib/templates/ruby/property.hbs +1 -0
  435. data/lib/templates/ruby/scenario.hbs +1 -0
  436. data/lib/templates/ruby/scenarios.hbs +12 -0
  437. data/lib/templates/ruby/single_scenario.hbs +11 -0
  438. data/lib/templates/ruby/single_test.hbs +11 -0
  439. data/lib/templates/ruby/step.hbs +1 -0
  440. data/lib/templates/ruby/symbol.hbs +1 -0
  441. data/lib/templates/ruby/tag.hbs +1 -0
  442. data/lib/templates/ruby/template.hbs +1 -0
  443. data/lib/templates/ruby/test.hbs +1 -0
  444. data/lib/templates/ruby/tests.hbs +12 -0
  445. data/lib/templates/ruby/while.hbs +5 -0
  446. data/lib/templates/seleniumide/argument.hbs +1 -0
  447. data/lib/templates/seleniumide/call.hbs +6 -0
  448. data/lib/templates/seleniumide/single_test.hbs +28 -0
  449. data/lib/templates/seleniumide/step.hbs +0 -0
  450. data/lib/templates/seleniumide/stringliteral.hbs +1 -0
  451. data/lib/templates/seleniumide/template.hbs +1 -0
  452. data/lib/templates/seleniumide/test.hbs +4 -0
  453. data/lib/templates/seleniumide/tests.hbs +19 -0
  454. data/lib/templates/specflow/actionword.hbs +6 -0
  455. data/lib/templates/specflow/actionwords/parameter.hbs +1 -0
  456. data/lib/templates/specflow/actionwords.hbs +14 -0
  457. data/lib/templates/specflow/gherkin/tag.hbs +1 -0
  458. data/lib/templates/specflow/parameter.hbs +1 -0
  459. data/lib/templates/swift/_body.hbs +11 -0
  460. data/lib/templates/swift/_item_as_def.hbs +5 -0
  461. data/lib/templates/swift/_scenario.hbs +7 -0
  462. data/lib/templates/swift/actionword.hbs +1 -0
  463. data/lib/templates/swift/actionwords.hbs +6 -0
  464. data/lib/templates/swift/argument.hbs +1 -0
  465. data/lib/templates/swift/assign.hbs +1 -0
  466. data/lib/templates/swift/binaryexpression.hbs +1 -0
  467. data/lib/templates/swift/call.hbs +2 -0
  468. data/lib/templates/swift/dataset.hbs +4 -0
  469. data/lib/templates/swift/dict.hbs +1 -0
  470. data/lib/templates/swift/field.hbs +1 -0
  471. data/lib/templates/swift/folder.hbs +23 -0
  472. data/lib/templates/swift/ifthen.hbs +7 -0
  473. data/lib/templates/swift/index.hbs +1 -0
  474. data/lib/templates/swift/list.hbs +1 -0
  475. data/lib/templates/swift/parameter.hbs +1 -0
  476. data/lib/templates/swift/parenthesis.hbs +1 -0
  477. data/lib/templates/swift/project.hbs +2 -0
  478. data/lib/templates/swift/property.hbs +1 -0
  479. data/lib/templates/swift/scenario.hbs +1 -0
  480. data/lib/templates/swift/scenarios.hbs +25 -0
  481. data/lib/templates/swift/single_scenario.hbs +24 -0
  482. data/lib/templates/swift/single_test.hbs +23 -0
  483. data/lib/templates/swift/step.hbs +1 -0
  484. data/lib/templates/swift/stringliteral.hbs +1 -0
  485. data/lib/templates/swift/symbol.hbs +1 -0
  486. data/lib/templates/swift/tag.hbs +1 -0
  487. data/lib/templates/swift/template.hbs +1 -0
  488. data/lib/templates/swift/test.hbs +1 -0
  489. data/lib/templates/swift/tests.hbs +25 -0
  490. data/lib/templates/swift/while.hbs +5 -0
  491. data/lib/templates/typescript/_item_as_function.hbs +3 -0
  492. data/lib/templates/typescript/actionword.hbs +1 -0
  493. data/lib/templates/typescript/actionwords.hbs +7 -0
  494. data/lib/templates/typescript/libraries.hbs +9 -0
  495. data/lib/templates/typescript/library.hbs +18 -0
  496. data/lib/templates/typescript/libraryactionword.hbs +1 -0
  497. data/lib/templates/typescript/parameter.hbs +1 -0
  498. metadata +783 -0
@@ -0,0 +1,137 @@
1
+ # i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks
2
+
3
+ # The "main" locale.
4
+ base_locale: en
5
+ ## All available locales are inferred from the data by default. Alternatively, specify them explicitly:
6
+ # locales: [es, fr]
7
+ ## Reporting locale, default: en. Available: en, ru.
8
+ # internal_locale: en
9
+
10
+ # Read and write translations.
11
+ data:
12
+ ## Translations are read from the file system. Supported format: YAML, JSON.
13
+ ## Provide a custom adapter:
14
+ # adapter: I18n::Tasks::Data::FileSystem
15
+
16
+ # Locale files or `File.find` patterns where translations are read from:
17
+ read:
18
+ ## Default:
19
+ # - config/locales/%{locale}.yml
20
+ ## More files:
21
+ # - config/locales/**/*.%{locale}.yml
22
+
23
+ # Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
24
+ # `i18n-tasks normalize -p` will force move the keys according to these rules
25
+ write:
26
+ ## For example, write devise and simple form keys to their respective files:
27
+ # - ['{devise, simple_form}.*', 'config/locales/\1.%{locale}.yml']
28
+ ## Catch-all default:
29
+ # - config/locales/%{locale}.yml
30
+
31
+ # External locale data (e.g. gems).
32
+ # This data is not considered unused and is never written to.
33
+ external:
34
+ ## Example (replace %#= with %=):
35
+ # - "<%#= %x[bundle show vagrant].chomp %>/templates/locales/%{locale}.yml"
36
+
37
+ ## Specify the router (see Readme for details). Valid values: conservative_router, pattern_router, or a custom class.
38
+ # router: conservative_router
39
+
40
+ yaml:
41
+ write:
42
+ # do not wrap lines at 80 characters
43
+ line_width: -1
44
+
45
+ ## Pretty-print JSON:
46
+ # json:
47
+ # write:
48
+ # indent: ' '
49
+ # space: ' '
50
+ # object_nl: "\n"
51
+ # array_nl: "\n"
52
+
53
+ # Find translate calls
54
+ search:
55
+ paths:
56
+ - bin/hiptest-publisher
57
+ - lib/
58
+ - lib/**
59
+ ## Paths or `File.find` patterns to search in:
60
+ # paths:
61
+ # - app/
62
+
63
+ ## Root directories for relative keys resolution.
64
+ # relative_roots:
65
+ # - app/controllers
66
+ # - app/helpers
67
+ # - app/mailers
68
+ # - app/presenters
69
+ # - app/views
70
+
71
+ ## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
72
+ ## %w(*.jpg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less *.yml *.json)
73
+ exclude:
74
+ - app/assets/images
75
+ - app/assets/fonts
76
+ - app/assets/videos
77
+
78
+ ## Alternatively, the only files or `File.fnmatch patterns` to search in `paths`:
79
+ ## If specified, this settings takes priority over `exclude`, but `exclude` still applies.
80
+ # only: ["*.rb", "*.html.slim"]
81
+
82
+ ## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`.
83
+ # strict: true
84
+
85
+ ## Multiple scanners can be used. Their results are merged.
86
+ ## The options specified above are passed down to each scanner. Per-scanner options can be specified as well.
87
+ ## See this example of a custom scanner: https://github.com/glebm/i18n-tasks/wiki/A-custom-scanner-example
88
+
89
+ ## Translation Services
90
+ # translation:
91
+ # # Google Translate
92
+ # # Get an API key and set billing info at https://code.google.com/apis/console to use Google Translate
93
+ # google_translate_api_key: "AbC-dEf5"
94
+ # # DeepL Pro Translate
95
+ # # Get an API key and subscription at https://www.deepl.com/pro to use DeepL Pro
96
+ # deepl_api_key: "48E92789-57A3-466A-9959-1A1A1A1A1A1A"
97
+
98
+ ## Do not consider these keys missing:
99
+ # ignore_missing:
100
+ # - 'errors.messages.{accepted,blank,invalid,too_short,too_long}'
101
+ # - '{devise,simple_form}.*'
102
+
103
+ ## Consider these keys used:
104
+ # ignore_unused:
105
+ # - 'activerecord.attributes.*'
106
+ # - '{devise,kaminari,will_paginate}.*'
107
+ # - 'simple_form.{yes,no}'
108
+ # - 'simple_form.{placeholders,hints,labels}.*'
109
+ # - 'simple_form.{error_notification,required}.:'
110
+
111
+ ## Exclude these keys from the `i18n-tasks eq-base' report:
112
+ # ignore_eq_base:
113
+ # all:
114
+ # - common.ok
115
+ # fr,es:
116
+ # - common.brand
117
+
118
+ ## Exclude these keys from the `i18n-tasks check-consistent-interpolations` report:
119
+ # ignore_inconsistent_interpolations:
120
+ # - 'activerecord.attributes.*'
121
+
122
+ ## Ignore these keys completely:
123
+ # ignore:
124
+ # - kaminari.*
125
+
126
+ ## Sometimes, it isn't possible for i18n-tasks to match the key correctly,
127
+ ## e.g. in case of a relative key defined in a helper method.
128
+ ## In these cases you can use the built-in PatternMapper to map patterns to keys, e.g.:
129
+ #
130
+ # <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
131
+ # only: %w(*.html.haml *.html.slim),
132
+ # patterns: [['= title\b', '.page_title']] %>
133
+ #
134
+ # The PatternMapper can also match key literals via a special %{key} interpolation, e.g.:
135
+ #
136
+ # <%# I18n::Tasks.add_scanner 'I18n::Tasks::Scanners::PatternMapper',
137
+ # patterns: [['\bSpree\.t[( ]\s*%{key}', 'spree.%{key}']] %>
@@ -0,0 +1,250 @@
1
+ ---
2
+ en:
3
+ actionwords_diff:
4
+ exporting_diff_title: Exporting actionwords diff
5
+ exporting_title: Exporting actionword signature
6
+ loading_previous_definition: Loading previous definition
7
+ summary:
8
+ created:
9
+ one: |
10
+ One action word created,
11
+ run '%{command_line} --show-actionwords-created' to get the definition
12
+ %{list}
13
+ other: |
14
+ %{count} action words created,
15
+ run '%{command_line} --show-actionwords-created' to get the definitions
16
+ %{list}
17
+ definition_changed:
18
+ one: |
19
+ One action word which definition changed,
20
+ run '%{command_line} --show-actionwords-definition-changed' to get the new definition
21
+ %{list}
22
+ other: |
23
+ %{count} action words which definition changed,
24
+ run '%{command_line} --show-actionwords-definition-changed' to get the new definitions
25
+ %{list}
26
+ deleted:
27
+ one: |
28
+ One action word deleted,
29
+ run '%{command_line} --show-actionwords-deleted' to list the name in the code
30
+ %{list}
31
+ other: |
32
+ %{count} action words deleted,
33
+ run '%{command_line} --show-actionwords-deleted' to list the names in the code
34
+ %{list}
35
+ empty: No action words changed
36
+ renamed:
37
+ one: |
38
+ One action word renamed,
39
+ run '%{command_line} --show-actionwords-renamed' to get the new name
40
+ %{list}
41
+ other: |
42
+ %{count} action words renamed,
43
+ run '%{command_line} --show-actionwords-renamed' to get the new names
44
+ %{list}
45
+ signature_changed:
46
+ one: |
47
+ One action word which signature changed,
48
+ run '%{command_line} --show-actionwords-signature-changed' to get the new signature
49
+ %{list}
50
+ other: |
51
+ %{count} action words which signature changed,
52
+ run '%{command_line} --show-actionwords-signature-changed' to get the new signatures
53
+ %{list}
54
+ analyzing_data: Analyzing data
55
+ build_data:
56
+ error: |
57
+ Unable to build:
58
+ %{node}
59
+ title: Extracting data
60
+ caching_data: Caching data
61
+ check_version:
62
+ error: Unable to connect to Rubygem
63
+ outdated: |
64
+ Your current install of hiptest-publisher (%{current}) is outdated, version %{latest} is available
65
+ run 'gem install hiptest-publisher' to get the latest version."
66
+ title: Checking latest version on Rubygem
67
+ up_to_date: Your current install of hiptest-publisher (%{current}) is up-to-date.
68
+ default: default
69
+ errors:
70
+ api_error: CucumberStudio API returned error %{code}
71
+ cli_options:
72
+ actionwords_signature_directory: 'Bad Action Words signature file: the file "%{path}" is a directory'
73
+ filter_status_without_test_run: |
74
+ You need to specify a test run when filtering on test status.
75
+ Use options test_run_id or test_run_name.
76
+ filter_with_test_run: Filtering can not be applied when exporting from a test run
77
+ invalid_category:
78
+ one: 'Error with --only: the category %{invalid_categories} does not exist for language %{language}. Available categories are %{available_categories}.'
79
+ other: 'Error with --only: the categories %{invalid_categories} do not exist for language %{language}. Available categories are %{available_categories}.'
80
+ invalid_execution_environment: 'Error with --execution-environment: the name of the execution environment must be less than 255 characters'
81
+ invalid_meta: |
82
+ meta should be a list of comma separated key:value items (eg. OS:Linux,CI:Jenkins)
83
+
84
+ Found: %{incorrect_value}
85
+ invalid_numeric_value_list: |
86
+ %{option} should be a list of comma separated numeric values
87
+
88
+ Found: %{incorrect_value}
89
+ invalid_tag_value_list: |
90
+ %{option} should be a list of comma separated tags from CucumberStudio
91
+
92
+ Found: %{incorrect_value}
93
+ invalid_test_run_id: 'Invalid format --test-run-id="%{test_run_id}": the test run id must be numeric'
94
+ invalid_token: 'Invalid format --token="%{token}": the project secret token must be numeric'
95
+ irregular_report_file: 'Error with --push: the file "%{path}" is not a regular file'
96
+ irregular_xml_file: 'Error with --xml-file: the file "%{path}" is not a regular file'
97
+ missing_actionwords_signature_file: |
98
+ Missing Action Words signature file: the file "actionwords_signature.yaml" could not be found in directory "%{directory_path}"
99
+ Use --actionwords-signature to generate the file "%{directory_path}/actionwords_signature.yaml"
100
+ missing_config_file: 'Error with --config: the file "%{config_file}" does not exist or is not readable'
101
+ missing_token: |
102
+ Missing argument --token: you must specify project secret token with --token=<project-token>
103
+
104
+ The project secret token can be found on CucumberStudio in the settings section, under
105
+ 'Test code generation'. It is a sequence of numbers uniquely identifying your
106
+ project.
107
+
108
+ Note that settings section is available only to administrators of the project.
109
+ multiple_build_options: 'Error with --push: you can not specify both --build-id and --build-name options'
110
+ multiple_filters: |
111
+ You specified multiple filters for the export.
112
+
113
+ Only one filter can be applied.
114
+ output_directory_not_directory: 'Error with --output-directory: the file "%{output_dir}" is not a directory'
115
+ output_directory_not_writable: 'Error with --output-directory: the directory "%{output_dir}" is not writable'
116
+ output_directory_parent_not_writable: 'Error with --output-directory: the directory "%{output_dir}" can not be created because "%{realpath}" is not writable'
117
+ unreadable_report_file: 'Error with --push: the file "%{path}" does not exist or is not readable'
118
+ unreadable_xml_file: 'Error with --xml-file: the file "%{path}" does not exist or is not readable'
119
+ default: |
120
+ An error has occured, sorry for the inconvenience.
121
+ Try running the command again with --verbose for detailed output
122
+ export_cache:
123
+ cache_dir_not_creatable: Unable to create directory %{cache_dir}
124
+ invalid_config_file: cannot find configuration file in "%{hiptest_publisher_path}/lib/config" for language %{language} and framework %{framework}
125
+ invalid_config_file_no_framework: cannot find configuration file in "%{hiptest_publisher_path}/lib/config" for language %{language}
126
+ invalid_node: Invalid node_name %{name} in language group [%{group_name}]
127
+ no_matching_test_run: |
128
+ No matching test run found. Available test runs for this project are:
129
+ %{test_runs}
130
+ no_test_runs: 'No matching test run found: this project does not have any test runs.'
131
+ project_not_found: No project found with this secret token.
132
+ template_not_found: no template with name %{template_name} in dirs %{dirs}
133
+ test_run_list_unavailable: Cannot get the list of available test runs from CucumberStudio. Try using --test-run-id instead of --test-run-name
134
+ exporting_file: Exporting %{name}
135
+ fetching_data: Fetching data from CucumberStudio
136
+ help:
137
+ categories:
138
+ title: For language %{language}, available file groups are
139
+ usage_example: |2
140
+
141
+ Usage examples:
142
+
143
+ To export only %{first} files:
144
+ hiptest-publisher --language=%{language} --only=%{first}
145
+
146
+ To export both %{first} and %{second} files:
147
+ hiptest-publisher --language=%{language} --only=%{first},%{second}
148
+ description: |2
149
+
150
+ Exports tests from CucumberStudio for automation.
151
+
152
+ Specific options:
153
+ header: 'Usage: hiptest-publisher [options]'
154
+ languages:
155
+ no_framework_available: " no framework option available %{language}"
156
+ supported_languages: 'Supported languages:'
157
+ options:
158
+ nomalized_options: 'Options have been normalized. Values updated:'
159
+ options:
160
+ actionwords_diff: Show actionwords diff since last update (summary)
161
+ actionwords_diff_json: Show actionwords diff since last update (JSON output)
162
+ actionwords_only: "(deprecated) alias for --only=actionwords"
163
+ actionwords_signature: Export actionwords signature
164
+ aw_created: Output code for new action words
165
+ aw_definition_changed: Output action words for which definition changed
166
+ aw_deleted: Output signature of deleted action words
167
+ aw_renamed: Output signatures of renamed action words
168
+ aw_signature_changed: Output signatures of action words for which signature changed
169
+ build_id: ID of an existing build the results will be added to
170
+ build_name: Name for the build that will be created in CucumberStudio (build names are not unique)
171
+ cache_dir: Path to the directory to store cache of CucumberStudio data
172
+ cache_duration: Validity of the CucumberStudio data cache in seconds
173
+ check_version: Check if a new release of hiptest-publisher is available
174
+ color: Force [un]use of ANSI color in text output
175
+ config: Configuration file
176
+ empty_folders: Export empty folders
177
+ execution_environment: Name of the execution environment
178
+ filename_pattern: Filename pattern (containing %s)
179
+ filter_on_folder_ids: Filter on folder ids (use commas to separate ids when fetching multiple folders)
180
+ filter_on_folder_name: Filter on folder name (only one name is accepted)
181
+ filter_on_scenario_ids: Filter on scenario ids (use commas to separate ids when fetching multiple scenarios)
182
+ filter_on_scenario_name: Filter on scenario name (only one name is accepted)
183
+ filter_on_status: Filter on test status in last build (use in conjunction with a test run)
184
+ filter_on_tags: Filter on scenarios and folder tags (use commas to separate tags when using multiple tags)
185
+ force_overwrite: Force overwrite of existing files (do not apply to test files)
186
+ framework: Test framework to use
187
+ global_failure_on_missing_reports: When there is no results file to push, report a global failure
188
+ help: Show this message
189
+ http_proxy: Specify your http proxy to access CucumberStudio
190
+ indentation: Customize indentation
191
+ keep_filenames: 'Keep the same name as in CucumberStudio for the test files (note: may cause encoding issues)'
192
+ keep_foldernames: 'Keep the same name as in CucumberStudio for the folders (note: may cause encoding issues)'
193
+ language: Target language
194
+ languages_help: Show languages and framework options
195
+ leafless_export: Use only last level action word
196
+ library_name: 'Use in conjunction with show-actionwords-*: show the diff for the specified library'
197
+ meta: Meta informations that can be used for customizing templates
198
+ not_recursive: 'Used in conjunction with filter-on-folder-ids or filter-on-folder-name: only exports those folders, not their children'
199
+ only: Restrict export to given file categories (--only=list to list them)
200
+ output_directory: Output directory
201
+ overriden_language_configs: Folder for overriden language configs
202
+ overriden_templates: Folder for overriden templates
203
+ parameter_delimiter: Parameter delimiter (for Gherkin based export only)
204
+ parent_folder_tags: 'Export tags from parent folders (note: if set to false, those tags are never rendered. Only available for Gherkin base exports)'
205
+ push: Push a results file to the server
206
+ push_format: Format of the test results (cucumber-json, junit, nunit, robot, tap)
207
+ site: Site to fetch from
208
+ sort: 'Sorting of tests in output: id will sort them by age, order will keep the same order as in CucumberStudio (only with --with-folders option, will fallback to id otherwise), alpha will sort them by name'
209
+ split_scenarios: Export each scenario in a single file (except for Gherkin based languages)
210
+ test_run_id: Export data from a test run identified by its id
211
+ test_run_name: Export data from a test run identified by its name
212
+ tests_only: "(deprecated) alias for --only=tests"
213
+ token: Secret token (available in your project settings)
214
+ uids: 'Export UIDs for Gherkin-based exports (note: disabled by default, enabled when specifying test run, disabling it may cause issue when pushing results back into test run)'
215
+ verbose: Run verbosely
216
+ with_dataset_names: 'Export dataset name when creating feature files (note: available only for Gherkin-based exports)'
217
+ with_folders: Use folders hierarchy to export files in respective directories
218
+ without: Exclude file categories from import (--only=list to list them)
219
+ xml_file: XML file to use instead of fetching it from CucumberStudio
220
+ overwrite:
221
+ ask_confirmation: 'File %{path} exists, do you want to overwrite it? [y/N] '
222
+ warning_message: File %{path} already exists, skipping. Use --force to overwrite it.
223
+ push:
224
+ empty_results: |
225
+ Possible causes for the lack of imported tests:
226
+
227
+ * Did you run the following command before executing your tests?
228
+ %{enhanced_command}
229
+
230
+ * Did you specify the correct push format?
231
+ Use push_format=<format> in your config file or option --push-format=<format> in the command line
232
+ Available formats are: cucumber-json, junit, nunit, robot, tap
233
+ posting_results: Posting %{file} to %{site}
234
+ test_imported: " Test '%{name}' imported"
235
+ test_run_id: the ID of the test run you want to push the results to
236
+ tests_imported_summary:
237
+ one: One test imported
238
+ other: "%{count} tests imported"
239
+ zero: No tests imported
240
+ readable_list: "%{first_items} and %{last_item}"
241
+ request_sent: 'Request sent to: %{uri}'
242
+ ruby_version:
243
+ current_version: You are using %{engine} %{version}.
244
+ deprecation_warning: Ruby %{version} support is deprecated and will be removed in later version of hiptest-publisher
245
+ required_version: hiptest-publisher requires Ruby version >= %{version}.
246
+ support_ended: Official support for Ruby %{version} ended on %{year}-%{month}-%{day}
247
+ use_more_recent: Please use a more recent ruby release to run hiptest-publisher.
248
+ using_cache: 'Using cache: %{full_path}'
249
+ using_cached_data: Using cached data from previous export
250
+ verbose_header: 'Running hiptest-publisher %{version} with:'
@@ -0,0 +1,44 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ indentation = ' '
7
+ node_name = folders
8
+ template_dirs = gherkin, common
9
+ named_filename = '%s.feature'
10
+ filename_convention = 'underscore'
11
+ renderer_addons = 'GherkinAddon'
12
+
13
+ [step_definitions]
14
+ node_name = actionwords
15
+ template_dirs = behat, php, common
16
+ filename = 'FeatureContext.php'
17
+ naming_convention = 'camelize'
18
+ call_prefix = 'self.actionwords'
19
+ renderer_addons = 'GherkinAddon'
20
+
21
+ [actionwords]
22
+ template_dirs = behat/actionwords, php, common
23
+ filename = 'Actionwords.php'
24
+ naming_convention = 'camel_case'
25
+ call_prefix = '$this'
26
+
27
+ [step_definitions_library]
28
+ node_name = libraries
29
+ call_prefix = 'actionwords'
30
+ template_dirs = behat, php, common
31
+ named_filename = '%sFeatureContext.php'
32
+ renderer_addons = 'GherkinAddon'
33
+ filename_convention = 'camelize'
34
+
35
+
36
+ [library]
37
+ template_dirs = php, common
38
+ filename = 'ActionwordLibrary.php'
39
+
40
+ [libraries]
41
+ template_dirs = php, common
42
+ named_filename = '%sLibrary.php'
43
+ filename_convention = 'camelize'
44
+
@@ -0,0 +1,40 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ indentation = ' '
7
+ node_name = folders
8
+ template_dirs = gherkin/inlined_uids, gherkin, common
9
+ named_filename = '%s.feature'
10
+ filename_convention = 'underscore'
11
+ renderer_addons = 'GherkinAddon'
12
+
13
+ [step_definitions]
14
+ node_name = actionwords
15
+ template_dirs = behave, python, common
16
+ filename = 'steps.py'
17
+ naming_convention = 'underscore'
18
+ call_prefix = 'self.actionwords'
19
+ renderer_addons = 'GherkinAddon BehaveAddon'
20
+
21
+ [step_definitions_library]
22
+ node_name = libraries
23
+ call_prefix = 'actionwords'
24
+ template_dirs = behave, python, common
25
+ named_filename = 'steps_%s.py'
26
+ renderer_addons = 'GherkinAddon'
27
+
28
+ [actionwords]
29
+ template_dirs = python, common
30
+ filename = 'actionwords.py'
31
+ naming_convention = 'underscore'
32
+
33
+ [library]
34
+ template_dirs = python, common
35
+ filename = 'actionword_library.py'
36
+
37
+ [libraries]
38
+ template_dirs = python, common
39
+ named_filename = '%s_library.py'
40
+ filename_convention = 'underscore'
@@ -0,0 +1,15 @@
1
+ [_common]
2
+ template_dirs = csharp, common
3
+ namespace = 'Example'
4
+ indentation = ' '
5
+ filename_convention = 'camelize'
6
+ naming_convention = 'camelize'
7
+
8
+ [tests]
9
+ filename = 'ProjectTest.cs'
10
+ named_filename = '%sTest.cs'
11
+ call_prefix = 'Actionwords'
12
+
13
+ [actionwords]
14
+ filename = 'Actionwords.cs'
15
+ call_prefix = 'this'
@@ -0,0 +1,40 @@
1
+ [_common]
2
+ package = 'com.example'
3
+ fallback_template = 'empty'
4
+ indentation = ' '
5
+ dirname_convention = 'underscore'
6
+ filename_convention = 'camelize'
7
+ naming_convention = 'camelize_lower'
8
+
9
+ [features]
10
+ node_name = folders
11
+ template_dirs = gherkin/inlined_uids, gherkin/java, gherkin, common
12
+ named_filename = '%s.feature'
13
+ indentation = ' '
14
+ renderer_addons = 'GherkinAddon'
15
+
16
+ [step_definitions]
17
+ node_name = actionwords
18
+ template_dirs = cucumber/groovy/step-definitions, groovy, java, common
19
+ filename = 'StepDefinitions.groovy'
20
+ call_prefix = 'actionwords'
21
+ renderer_addons = 'GherkinAddon'
22
+
23
+ [step_definitions_library]
24
+ node_name = libraries
25
+ call_prefix = 'actionwords'
26
+ template_dirs = cucumber/groovy/step-definitions, groovy, java, common
27
+ named_filename = 'StepDefinitions%s.groovy'
28
+ renderer_addons = 'GherkinAddon'
29
+
30
+ [actionwords]
31
+ template_dirs = groovy, java, common
32
+ filename = 'Actionwords.groovy'
33
+
34
+ [library]
35
+ template_dirs = groovy, java, common
36
+ filename = 'ActionwordLibrary.groovy'
37
+
38
+ [libraries]
39
+ template_dirs = groovy, java, common
40
+ named_filename = '%sLibrary.groovy'
@@ -0,0 +1,24 @@
1
+ [_common]
2
+ package = 'com.example'
3
+ indentation = ' '
4
+ fallback_template = 'empty'
5
+
6
+ [features]
7
+ node_name = folders
8
+ template_dirs = gherkin/inlined_uids, gherkin/java, gherkin, common
9
+ named_filename = '%s.feature'
10
+ indentation = ' '
11
+ renderer_addons = 'GherkinAddon'
12
+
13
+ [step_definitions]
14
+ node_name = actionwords
15
+ template_dirs = cucumber/java, java, common
16
+ filename = 'StepDefinitions.java'
17
+ naming_convention = 'camelize_lower'
18
+ call_prefix = 'actionwords'
19
+ renderer_addons = 'GherkinAddon'
20
+
21
+ [actionwords]
22
+ template_dirs = cucumber/java/actionwords, java, common
23
+ filename = 'Actionwords.java'
24
+ naming_convention = 'camelize_lower'
@@ -0,0 +1,23 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ node_name = folders
7
+ template_dirs = gherkin/inlined_uids, gherkin, common
8
+ named_filename = '%s.feature'
9
+ indentation = ' '
10
+ renderer_addons = 'GherkinAddon'
11
+
12
+ [step_definitions]
13
+ node_name = actionwords
14
+ template_dirs = cucumber/javascript, javascript, common
15
+ filename = 'step_definitions.js'
16
+ naming_convention = 'camelize_lower'
17
+ call_prefix = 'actionwords'
18
+ renderer_addons = 'GherkinAddon'
19
+
20
+ [actionwords]
21
+ template_dirs = javascript/es6, javascript, common
22
+ filename = 'actionwords.js'
23
+ naming_convention = 'camelize_lower'
@@ -0,0 +1,22 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ node_name = folders
7
+ template_dirs = gherkin, common
8
+ named_filename = '%s.feature'
9
+ filename_convention = 'underscore'
10
+ renderer_addons = 'GherkinAddon'
11
+
12
+ [step_definitions]
13
+ node_name = actionwords
14
+ template_dirs = cucumber, common
15
+ filename = 'step_definitions.rb'
16
+ naming_convention = 'underscore'
17
+ renderer_addons = 'GherkinAddon'
18
+
19
+ [actionwords]
20
+ template_dirs = ruby, common
21
+ filename = 'actionwords.rb'
22
+ naming_convention = 'underscore'
@@ -0,0 +1,41 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ node_name = folders
7
+ template_dirs = gherkin/inlined_uids, gherkin, common
8
+ named_filename = '%s.feature'
9
+ indentation = ' '
10
+ renderer_addons = 'GherkinAddon'
11
+
12
+ [step_definitions]
13
+ node_name = actionwords
14
+ template_dirs = cucumber/typescript, javascript, common
15
+ filename = 'step_definitions.ts'
16
+ naming_convention = 'camelize_lower'
17
+ call_prefix = 'actionwords'
18
+ renderer_addons = 'GherkinAddon'
19
+
20
+ [step_definitions_library]
21
+ node_name = libraries
22
+ template_dirs = cucumber/typescript, javascript, common
23
+ named_filename = 'steps_%s.ts'
24
+ naming_convention = 'camelize_lower'
25
+ call_prefix = 'actionwords'
26
+ renderer_addons = 'GherkinAddon'
27
+
28
+ [actionwords]
29
+ template_dirs = typescript, javascript, common
30
+ filename = 'actionwords.ts'
31
+ naming_convention = 'camelize_lower'
32
+
33
+
34
+ [library]
35
+ template_dirs = typescript, javascript, common
36
+ filename = 'actionword_library.ts'
37
+
38
+ [libraries]
39
+ template_dirs = typescript, javascript, common
40
+ named_filename = '%s_library.ts'
41
+ filename_convention = 'underscore'