summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohann David <jdavid@inocybe.com>2019-06-06 19:31:32 -0400
committerJohann David <johann937@gmail.com>2019-06-06 22:54:44 -0400
commitdfbcbb2510fea15984ecb0b78df7e620f893c0e3 (patch)
tree5bd57e3bff02d39c9e738c9a06d8136c4cfd90f1 /tests
parente394ed37e0941c09fb33d9cc6ba8b2e997eff8c1 (diff)
downloadpython-jenkins-job-builder-dfbcbb2510fea15984ecb0b78df7e620f893c0e3.tar.gz
python-jenkins-job-builder-dfbcbb2510fea15984ecb0b78df7e620f893c0e3.tar.xz
python-jenkins-job-builder-dfbcbb2510fea15984ecb0b78df7e620f893c0e3.zip
Add support for 'Micro Focus Application Automation Tools'
Change-Id: Ie514614889daeccbd15b5b2cfffc6157c272849e
Diffstat (limited to 'tests')
-rw-r--r--tests/publishers/fixtures/hp-alm001.xml18
-rw-r--r--tests/publishers/fixtures/hp-alm001.yaml8
-rw-r--r--tests/publishers/fixtures/hp-alm002.xml18
-rw-r--r--tests/publishers/fixtures/hp-alm002.yaml13
4 files changed, 57 insertions, 0 deletions
diff --git a/tests/publishers/fixtures/hp-alm001.xml b/tests/publishers/fixtures/hp-alm001.xml
new file mode 100644
index 00000000..cc21a4b5
--- /dev/null
+++ b/tests/publishers/fixtures/hp-alm001.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <com.microfocus.application.automation.tools.results.TestResultToALMUploader plugin="hp-application-automation-tools-plugin">
+ <almServerName>HP-ALM</almServerName>
+ <credentialsId/>
+ <almDomain>FOO_COMPANY</almDomain>
+ <almProject>foo_project</almProject>
+ <clientType/>
+ <testingFramework>JUnit</testingFramework>
+ <testingTool/>
+ <almTestFolder>ALM/foo/release1/test_case1</almTestFolder>
+ <almTestSetFolder>ALM/foo/release1/test_case1/$env</almTestSetFolder>
+ <testingResultFile>**/junitResult.xml</testingResultFile>
+ <jenkinsServerUrl/>
+ </com.microfocus.application.automation.tools.results.TestResultToALMUploader>
+ </publishers>
+</project>
diff --git a/tests/publishers/fixtures/hp-alm001.yaml b/tests/publishers/fixtures/hp-alm001.yaml
new file mode 100644
index 00000000..f5ae7d6d
--- /dev/null
+++ b/tests/publishers/fixtures/hp-alm001.yaml
@@ -0,0 +1,8 @@
+publishers:
+ - hp-alm:
+ server-name: HP-ALM
+ domain: FOO_COMPANY
+ project: foo_project
+ folder: 'ALM/foo/release1/test_case1'
+ set-folder: 'ALM/foo/release1/test_case1/$env'
+ testing-result-file: '**/junitResult.xml'
diff --git a/tests/publishers/fixtures/hp-alm002.xml b/tests/publishers/fixtures/hp-alm002.xml
new file mode 100644
index 00000000..0137e64a
--- /dev/null
+++ b/tests/publishers/fixtures/hp-alm002.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <com.microfocus.application.automation.tools.results.TestResultToALMUploader plugin="hp-application-automation-tools-plugin">
+ <almServerName>HP-ALM</almServerName>
+ <credentialsId>cba09876-4321-4567-890a-bcde12345678</credentialsId>
+ <almDomain>FOO_COMPANY</almDomain>
+ <almProject>foo_project</almProject>
+ <clientType>foo_client</clientType>
+ <testingFramework>JUnit</testingFramework>
+ <testingTool>foo_tool</testingTool>
+ <almTestFolder>ALM/foo/release1/test_case1</almTestFolder>
+ <almTestSetFolder>ALM/foo/release1/test_case1/$env</almTestSetFolder>
+ <testingResultFile>**/junitResult.xml</testingResultFile>
+ <jenkinsServerUrl>http://myjenkinsserver.test.com:8080</jenkinsServerUrl>
+ </com.microfocus.application.automation.tools.results.TestResultToALMUploader>
+ </publishers>
+</project>
diff --git a/tests/publishers/fixtures/hp-alm002.yaml b/tests/publishers/fixtures/hp-alm002.yaml
new file mode 100644
index 00000000..5404538a
--- /dev/null
+++ b/tests/publishers/fixtures/hp-alm002.yaml
@@ -0,0 +1,13 @@
+publishers:
+ - hp-alm:
+ server-name: HP-ALM
+ credentials-id: cba09876-4321-4567-890a-bcde12345678
+ domain: FOO_COMPANY
+ project: foo_project
+ client-type: foo_client
+ testing-framework: JUnit
+ testing-tool: foo_tool
+ folder: 'ALM/foo/release1/test_case1'
+ set-folder: 'ALM/foo/release1/test_case1/$env'
+ testing-result-file: '**/junitResult.xml'
+ jenkins-server-url: 'http://myjenkinsserver.test.com:8080'