diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-12-09 09:10:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-12-09 09:10:06 +0000 |
commit | c1e16bae4e0582bfe21b23e85115dfd675baf25e (patch) | |
tree | 5f369a17ecb0e280cb4f47ac9923632145766fa1 | |
parent | cecbe67a6fd68861d55741ace2780f87d0ef7119 (diff) | |
parent | 8cee4fd665eed0a1d31f27bb3b5562711b7690b3 (diff) |
Merge "Enable robot sample in the container" into stable/gambia
-rw-r--r-- | docker/Dockerfile | 1 | ||||
-rw-r--r-- | docker/testcases.yaml | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 32af8435..61953b01 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,4 +13,5 @@ RUN apk --no-cache add --update python py-pip bash git && \ -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH \ /src/functest-xtesting && \ rm -r /src/functest-xtesting +COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] diff --git a/docker/testcases.yaml b/docker/testcases.yaml new file mode 100644 index 00000000..6b787d27 --- /dev/null +++ b/docker/testcases.yaml @@ -0,0 +1,66 @@ +--- +tiers: + - + name: samples + order: 1 + description: '' + testcases: + - + case_name: first + project_name: xtesting + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'first' + + - + case_name: second + project_name: xtesting + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'second' + + - + case_name: third + project_name: xtesting + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'bashfeature' + args: + cmd: 'echo -n Hello World; exit 0' + + - + case_name: fourth + project_name: xtesting + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'unit' + args: + name: 'xtesting.samples.fourth' + + - + case_name: fifth + project_name: xtesting + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'robotframework' + args: + suites: + - /usr/lib/python2.7/site-packages/xtesting/samples/HelloWorld.txt + variable: + - 'var01:foo' + - 'var02:bar' |