From c3a77e1a451139c026ad4e8682f56a29de2efd8c Mon Sep 17 00:00:00 2001 From: Simon Meggle Date: Fri, 13 Oct 2023 12:13:18 +0200 Subject: [PATCH] updated minimal examples --- .../minimal_3tests}/.gitignore | 0 .../minimal_3tests/CRM_system.robot | 9 + .../minimal_examples/minimal_3tests/README.md | 3 + .../minimal_3tests}/conda.yaml | 0 .../minimal_examples/minimal_3tests/log.html | 2199 +++++++++++++++ .../minimal_3tests/output.xml | 88 + .../minimal_3tests/report.html | 2462 +++++++++++++++++ .../minimal_3tests}/robot.yaml | 0 .../minimal_6tests_2layers/.gitignore | 17 + .../CRM_submodule/module1.robot | 9 + .../minimal_6tests_2layers/CRM_system.robot | 9 + .../minimal_6tests_2layers/README.md | 3 + .../minimal_6tests_2layers/conda.yaml | 13 + .../minimal_6tests_2layers/log.html | 2199 +++++++++++++++ .../minimal_6tests_2layers/output.xml | 88 + .../minimal_6tests_2layers/report.html | 2462 +++++++++++++++++ .../minimal_6tests_2layers/robot.yaml | 22 + .../minimal_examples/similar_names/.gitignore | 17 + .../similar_names/README.md | 0 .../minimal_examples/similar_names/conda.yaml | 13 + .../minimal_examples/similar_names/log.html | 2199 +++++++++++++++ .../minimal_examples/similar_names/output.xml | 88 + .../similar_names/report.html | 2462 +++++++++++++++++ .../minimal_examples/similar_names/robot.yaml | 22 + .../suite_mainfolder/suite_folder1/demo.robot | 0 .../suite_mainfolder/suite_folder2/demo.robot | 0 26 files changed, 14384 insertions(+) rename v2/data/{similar_names => minimal_examples/minimal_3tests}/.gitignore (100%) create mode 100644 v2/data/minimal_examples/minimal_3tests/CRM_system.robot create mode 100644 v2/data/minimal_examples/minimal_3tests/README.md rename v2/data/{similar_names => minimal_examples/minimal_3tests}/conda.yaml (100%) create mode 100644 v2/data/minimal_examples/minimal_3tests/log.html create mode 100644 v2/data/minimal_examples/minimal_3tests/output.xml create mode 100644 v2/data/minimal_examples/minimal_3tests/report.html rename v2/data/{similar_names => minimal_examples/minimal_3tests}/robot.yaml (100%) create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/.gitignore create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/CRM_submodule/module1.robot create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/CRM_system.robot create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/README.md create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/conda.yaml create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/log.html create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/output.xml create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/report.html create mode 100644 v2/data/minimal_examples/minimal_6tests_2layers/robot.yaml create mode 100644 v2/data/minimal_examples/similar_names/.gitignore rename v2/data/{ => minimal_examples}/similar_names/README.md (100%) create mode 100644 v2/data/minimal_examples/similar_names/conda.yaml create mode 100644 v2/data/minimal_examples/similar_names/log.html create mode 100644 v2/data/minimal_examples/similar_names/output.xml create mode 100644 v2/data/minimal_examples/similar_names/report.html create mode 100644 v2/data/minimal_examples/similar_names/robot.yaml rename v2/data/{ => minimal_examples}/similar_names/suite_mainfolder/suite_folder1/demo.robot (100%) rename v2/data/{ => minimal_examples}/similar_names/suite_mainfolder/suite_folder2/demo.robot (100%) diff --git a/v2/data/similar_names/.gitignore b/v2/data/minimal_examples/minimal_3tests/.gitignore similarity index 100% rename from v2/data/similar_names/.gitignore rename to v2/data/minimal_examples/minimal_3tests/.gitignore diff --git a/v2/data/minimal_examples/minimal_3tests/CRM_system.robot b/v2/data/minimal_examples/minimal_3tests/CRM_system.robot new file mode 100644 index 00000000..4eb635d9 --- /dev/null +++ b/v2/data/minimal_examples/minimal_3tests/CRM_system.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Download Customer Report + Log This is TestA doing nothing. + +Search Company Database + Log This is TestB doing nothing. + +Employee Module + Log This is TestC doing nothing. diff --git a/v2/data/minimal_examples/minimal_3tests/README.md b/v2/data/minimal_examples/minimal_3tests/README.md new file mode 100644 index 00000000..35105a9e --- /dev/null +++ b/v2/data/minimal_examples/minimal_3tests/README.md @@ -0,0 +1,3 @@ +# Example: minimal_3tests + +An absolute minimal example showing a suite which tests a CRM system with three tests. \ No newline at end of file diff --git a/v2/data/similar_names/conda.yaml b/v2/data/minimal_examples/minimal_3tests/conda.yaml similarity index 100% rename from v2/data/similar_names/conda.yaml rename to v2/data/minimal_examples/minimal_3tests/conda.yaml diff --git a/v2/data/minimal_examples/minimal_3tests/log.html b/v2/data/minimal_examples/minimal_3tests/log.html new file mode 100644 index 00000000..91f399da --- /dev/null +++ b/v2/data/minimal_examples/minimal_3tests/log.html @@ -0,0 +1,2199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/minimal_examples/minimal_3tests/output.xml b/v2/data/minimal_examples/minimal_3tests/output.xml new file mode 100644 index 00000000..183e4e23 --- /dev/null +++ b/v2/data/minimal_examples/minimal_3tests/output.xml @@ -0,0 +1,88 @@ + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +All Tests + + + + +Suite Mainfolder +Suite Mainfolder.Suite Folder1 +Suite Mainfolder.Suite Folder1.Demo +Suite Mainfolder.Suite Folder2 +Suite Mainfolder.Suite Folder2.Demo + + + + + diff --git a/v2/data/minimal_examples/minimal_3tests/report.html b/v2/data/minimal_examples/minimal_3tests/report.html new file mode 100644 index 00000000..89ff74ee --- /dev/null +++ b/v2/data/minimal_examples/minimal_3tests/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/similar_names/robot.yaml b/v2/data/minimal_examples/minimal_3tests/robot.yaml similarity index 100% rename from v2/data/similar_names/robot.yaml rename to v2/data/minimal_examples/minimal_3tests/robot.yaml diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/.gitignore b/v2/data/minimal_examples/minimal_6tests_2layers/.gitignore new file mode 100644 index 00000000..811ab3fe --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/.gitignore @@ -0,0 +1,17 @@ +output/ +venv/ +temp/ +.rpa/ +.idea/ +.ipynb_checkpoints/ +*/.ipynb_checkpoints/* +.virtual_documents/ +*/.virtual_documents/* +.vscode +.DS_Store +*.pyc +*.zip +*/work-items-out/* +testrun/* +.~lock* +*.pkl diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/CRM_submodule/module1.robot b/v2/data/minimal_examples/minimal_6tests_2layers/CRM_submodule/module1.robot new file mode 100644 index 00000000..d3e3343b --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/CRM_submodule/module1.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Open Map + Log This is TestA doing nothing. + +Test Order Table + Log This is TestB doing nothing. + +Verify Chatbot + Log This is TestC doing nothing. diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/CRM_system.robot b/v2/data/minimal_examples/minimal_6tests_2layers/CRM_system.robot new file mode 100644 index 00000000..4eb635d9 --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/CRM_system.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Download Customer Report + Log This is TestA doing nothing. + +Search Company Database + Log This is TestB doing nothing. + +Employee Module + Log This is TestC doing nothing. diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/README.md b/v2/data/minimal_examples/minimal_6tests_2layers/README.md new file mode 100644 index 00000000..35105a9e --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/README.md @@ -0,0 +1,3 @@ +# Example: minimal_3tests + +An absolute minimal example showing a suite which tests a CRM system with three tests. \ No newline at end of file diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/conda.yaml b/v2/data/minimal_examples/minimal_6tests_2layers/conda.yaml new file mode 100644 index 00000000..4d96eb7b --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/conda.yaml @@ -0,0 +1,13 @@ +# For more details on the format and content: +# https://github.com/robocorp/rcc/blob/master/docs/recipes.md#what-is-in-condayaml +# Tip: Adding a link to the release notes of the packages helps maintenance and security. + +channels: + - conda-forge + +dependencies: + - python=3.10.12 # https://pyreadiness.org/3.10 + - pip=23.2.1 # https://pip.pypa.io/en/stable/news + - truststore=0.7.0 # https://github.com/sethmlarson/truststore/blob/main/CHANGELOG.md + - pip: + - robotframework>=6 diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/log.html b/v2/data/minimal_examples/minimal_6tests_2layers/log.html new file mode 100644 index 00000000..91f399da --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/log.html @@ -0,0 +1,2199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/output.xml b/v2/data/minimal_examples/minimal_6tests_2layers/output.xml new file mode 100644 index 00000000..183e4e23 --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/output.xml @@ -0,0 +1,88 @@ + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +All Tests + + + + +Suite Mainfolder +Suite Mainfolder.Suite Folder1 +Suite Mainfolder.Suite Folder1.Demo +Suite Mainfolder.Suite Folder2 +Suite Mainfolder.Suite Folder2.Demo + + + + + diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/report.html b/v2/data/minimal_examples/minimal_6tests_2layers/report.html new file mode 100644 index 00000000..89ff74ee --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/minimal_examples/minimal_6tests_2layers/robot.yaml b/v2/data/minimal_examples/minimal_6tests_2layers/robot.yaml new file mode 100644 index 00000000..aa177600 --- /dev/null +++ b/v2/data/minimal_examples/minimal_6tests_2layers/robot.yaml @@ -0,0 +1,22 @@ +# For more details on the format and content: +# https://github.com/robocorp/rcc/blob/master/docs/recipes.md#what-is-in-robotyaml + +tasks: + # Task names here are used when executing the bots, renaming these is recommended. + Run all tasks: + shell: python -m robot --report NONE --outputdir output --logtitle "Task log" tasks.robot + +environmentConfigs: + - environment_windows_amd64_freeze.yaml + - environment_linux_amd64_freeze.yaml + - environment_darwin_amd64_freeze.yaml + - conda.yaml + +artifactsDir: output + +PATH: + - . +PYTHONPATH: + - . +ignoreFiles: + - .gitignore diff --git a/v2/data/minimal_examples/similar_names/.gitignore b/v2/data/minimal_examples/similar_names/.gitignore new file mode 100644 index 00000000..811ab3fe --- /dev/null +++ b/v2/data/minimal_examples/similar_names/.gitignore @@ -0,0 +1,17 @@ +output/ +venv/ +temp/ +.rpa/ +.idea/ +.ipynb_checkpoints/ +*/.ipynb_checkpoints/* +.virtual_documents/ +*/.virtual_documents/* +.vscode +.DS_Store +*.pyc +*.zip +*/work-items-out/* +testrun/* +.~lock* +*.pkl diff --git a/v2/data/similar_names/README.md b/v2/data/minimal_examples/similar_names/README.md similarity index 100% rename from v2/data/similar_names/README.md rename to v2/data/minimal_examples/similar_names/README.md diff --git a/v2/data/minimal_examples/similar_names/conda.yaml b/v2/data/minimal_examples/similar_names/conda.yaml new file mode 100644 index 00000000..4d96eb7b --- /dev/null +++ b/v2/data/minimal_examples/similar_names/conda.yaml @@ -0,0 +1,13 @@ +# For more details on the format and content: +# https://github.com/robocorp/rcc/blob/master/docs/recipes.md#what-is-in-condayaml +# Tip: Adding a link to the release notes of the packages helps maintenance and security. + +channels: + - conda-forge + +dependencies: + - python=3.10.12 # https://pyreadiness.org/3.10 + - pip=23.2.1 # https://pip.pypa.io/en/stable/news + - truststore=0.7.0 # https://github.com/sethmlarson/truststore/blob/main/CHANGELOG.md + - pip: + - robotframework>=6 diff --git a/v2/data/minimal_examples/similar_names/log.html b/v2/data/minimal_examples/similar_names/log.html new file mode 100644 index 00000000..91f399da --- /dev/null +++ b/v2/data/minimal_examples/similar_names/log.html @@ -0,0 +1,2199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/minimal_examples/similar_names/output.xml b/v2/data/minimal_examples/similar_names/output.xml new file mode 100644 index 00000000..183e4e23 --- /dev/null +++ b/v2/data/minimal_examples/similar_names/output.xml @@ -0,0 +1,88 @@ + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +This is TestA doing nothing. +Logs the given message with the given level. +This is TestA doing nothing. + + + + + + +This is TestB doing nothing. +Logs the given message with the given level. +This is TestB doing nothing. + + + + + + +This is TestC doing nothing. +Logs the given message with the given level. +This is TestC doing nothing. + + + + + + + + + + + + +All Tests + + + + +Suite Mainfolder +Suite Mainfolder.Suite Folder1 +Suite Mainfolder.Suite Folder1.Demo +Suite Mainfolder.Suite Folder2 +Suite Mainfolder.Suite Folder2.Demo + + + + + diff --git a/v2/data/minimal_examples/similar_names/report.html b/v2/data/minimal_examples/similar_names/report.html new file mode 100644 index 00000000..89ff74ee --- /dev/null +++ b/v2/data/minimal_examples/similar_names/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v2/data/minimal_examples/similar_names/robot.yaml b/v2/data/minimal_examples/similar_names/robot.yaml new file mode 100644 index 00000000..aa177600 --- /dev/null +++ b/v2/data/minimal_examples/similar_names/robot.yaml @@ -0,0 +1,22 @@ +# For more details on the format and content: +# https://github.com/robocorp/rcc/blob/master/docs/recipes.md#what-is-in-robotyaml + +tasks: + # Task names here are used when executing the bots, renaming these is recommended. + Run all tasks: + shell: python -m robot --report NONE --outputdir output --logtitle "Task log" tasks.robot + +environmentConfigs: + - environment_windows_amd64_freeze.yaml + - environment_linux_amd64_freeze.yaml + - environment_darwin_amd64_freeze.yaml + - conda.yaml + +artifactsDir: output + +PATH: + - . +PYTHONPATH: + - . +ignoreFiles: + - .gitignore diff --git a/v2/data/similar_names/suite_mainfolder/suite_folder1/demo.robot b/v2/data/minimal_examples/similar_names/suite_mainfolder/suite_folder1/demo.robot similarity index 100% rename from v2/data/similar_names/suite_mainfolder/suite_folder1/demo.robot rename to v2/data/minimal_examples/similar_names/suite_mainfolder/suite_folder1/demo.robot diff --git a/v2/data/similar_names/suite_mainfolder/suite_folder2/demo.robot b/v2/data/minimal_examples/similar_names/suite_mainfolder/suite_folder2/demo.robot similarity index 100% rename from v2/data/similar_names/suite_mainfolder/suite_folder2/demo.robot rename to v2/data/minimal_examples/similar_names/suite_mainfolder/suite_folder2/demo.robot