Closed JunqiZhang0 closed 2 years ago
Is it possible to add a unit test for this change? something to check if the resources are same or different based on the resource id? I do think unit tests is important to cover this
Rest looks good.
i tested with the below scenario which ran fine `---
name: data_folder description:
provision:
- name: laptop groups: localhost ip_address: 127.0.0.1 ansible_params: ansible_connection: local
execute:
name: ex1 description: "Test running script during execute" executor: runner hosts: localhost shell:
chdir: /home command: ls artifacts:
./cnv-ibm_bare_metal-tests.xml
./payload_1/results/junit_example.xml
name: ex1 description: "Test running script during execute" executor: runner hosts: localhost shell:
- chdir: /home command: ls
report:
- name: SampleTest.xml description: import results to polarion credential: polarion-creds importer: polarion project_id: Carbon1 testsuite_properties: polarion-lookup-method: name polarion-testrun-title: e2e-tests
- name: SampleTest.xml description: import results to polarion credential: polarion-creds importer: polarion project_id: Carbon1 testsuite_properties: polarion-lookup-method: name polarion-testrun-title: test2 ~ ~ `
Cool, If everything worked fine I'll add it, thank you very much for testing!
Fix #182