testbench2robotframework 0.9.2a1__tar.gz → 0.9.2a2__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 (59) hide show
  1. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/PKG-INFO +1 -1
  2. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/__init__.py +1 -1
  3. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/result_writer.py +8 -4
  4. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/.gitignore +0 -0
  5. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/CreatePiPWheel.bat +0 -0
  6. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/CreatePiPWheel.sh +0 -0
  7. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/DEVELOPMENT.md +0 -0
  8. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/ExampleConfiguration/json_config.json +0 -0
  9. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/ExampleConfiguration/pyproject_example.toml +0 -0
  10. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/ExampleConfiguration/toml_config.toml +0 -0
  11. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/LICENSE +0 -0
  12. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/MANIFEST.in +0 -0
  13. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/README.md +0 -0
  14. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/README_old.md +0 -0
  15. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/json_config_tests/1_tfs.robot +0 -0
  16. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/libs/json_config.py +0 -0
  17. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/libs/pyproject_config.py +0 -0
  18. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/resources/file_management.resource +0 -0
  19. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/resources/testbench2robotframework_cli.resource +0 -0
  20. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/rf_tests/cli_interface/write/json_config.robot +0 -0
  21. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/rf_tests/cli_interface/write/no_config_argument.robot +0 -0
  22. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/atest/robot/rf_tests/cli_interface/write/toml_config.robot +0 -0
  23. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/create_json_schema.py +0 -0
  24. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/LibrarySubdivision.PNG +0 -0
  25. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/Unbenannt.PNG +0 -0
  26. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/generated.png +0 -0
  27. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/libraries.PNG +0 -0
  28. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/resources.PNG +0 -0
  29. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/rfLibraryRootsTestBench.PNG +0 -0
  30. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/testbench_rfLibraryRegex.PNG +0 -0
  31. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/testbench_rfResourceRegex.PNG +0 -0
  32. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/images/testthemen.PNG +0 -0
  33. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/oldModel.py +0 -0
  34. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/pydantic_model.py +0 -0
  35. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/pyproject.toml +0 -0
  36. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/requirements.txt +0 -0
  37. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/robot.toml +0 -0
  38. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tasks.py +0 -0
  39. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench-tools.zip +0 -0
  40. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/__main__.py +0 -0
  41. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/cli.py +0 -0
  42. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/config.py +0 -0
  43. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/execution_artifacts.py +0 -0
  44. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/html_parser.py +0 -0
  45. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/json_reader.py +0 -0
  46. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/json_writer.py +0 -0
  47. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/log.py +0 -0
  48. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/model.py +0 -0
  49. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/model_utils.py +0 -0
  50. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/robotframework2testbench.py +0 -0
  51. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/testbench2rf.py +0 -0
  52. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/testbench2robotframework.py +0 -0
  53. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/testsuite_write.py +0 -0
  54. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/testbench2robotframework/utils.py +0 -0
  55. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tests/test_data/configurations/invalid_config.json +0 -0
  56. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tests/test_data/configurations/valid_config.json +0 -0
  57. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tests/test_missing_files.py +0 -0
  58. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tests/test_robot_files_should_not_contain_invalid_characters.py +0 -0
  59. {testbench2robotframework-0.9.2a1 → testbench2robotframework-0.9.2a2}/tests/test_zip_file_generation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testbench2robotframework
3
- Version: 0.9.2a1
3
+ Version: 0.9.2a2
4
4
  Summary: Robot Framework Code Generator from Keyword-Driven Tests in imbus TestBench 3.0 and newer
5
5
  Author-email: imbus AG <support@imbus.de>
6
6
  Requires-Python: >= 3.10
@@ -17,4 +17,4 @@ suites and enhancing the TestBench report with execution results from Robot Fram
17
17
 
18
18
  from .testbench2robotframework import testbench2robotframework # noqa: F401
19
19
 
20
- __version__ = "0.9.2a1"
20
+ __version__ = "0.9.2a2"
@@ -117,6 +117,8 @@ class ResultWriter(ResultVisitor):
117
117
  self, keywords: list[KeywordCall], keyword_type: KeywordType
118
118
  ):
119
119
  for keyword in keywords:
120
+ if not keyword.spec:
121
+ continue
120
122
  if keyword.spec.keywordType == keyword_type:
121
123
  yield keyword
122
124
 
@@ -160,12 +162,12 @@ class ResultWriter(ResultVisitor):
160
162
  self._set_compound_keyword_execution_verdict(
161
163
  keyword, itb_test_case.testSequence
162
164
  )
163
- textual_interactions = list(
164
- self._get_interactions_by_type(itb_test_case.interactions, KeywordType.Textual)
165
+ textual_steps = list(
166
+ self._get_keywords_by_type(itb_test_case.testSequence, KeywordType.Textual)
165
167
  )
166
- for step in textual_interactions:
168
+ for step in textual_steps:
167
169
  if step.exec is None:
168
- step.exec = KeywordCallExecution.from_dict({})
170
+ step.exec = from_dict(KeywordCallExecution, {})
169
171
  step.exec.verdict = KeywordVerdict.Skipped
170
172
  self._set_itb_testcase_execution_result(itb_test_case, self.test_chain)
171
173
  self._set_itb_testcase_execution_comment(itb_test_case, self.test_chain)
@@ -467,6 +469,8 @@ class ResultWriter(ResultVisitor):
467
469
  child.exec = from_dict(KeywordCallExecution, {})
468
470
  if child.spec.keywordType == KeywordType.Compound:
469
471
  self._set_compound_keyword_execution_verdict(child, test_steps)
472
+ if child.spec.keywordType == KeywordType.Textual:
473
+ child.exec.verdict = KeywordVerdict.Skipped
470
474
  if child.exec.verdict is KeywordVerdict.Fail:
471
475
  compound_keyword.exec.verdict = KeywordVerdict.Fail
472
476
  break