~pieq/checkbox/add-30suspend-1reboot-cycles-support

« back to all changes in this revision

Viewing changes to providers/2014.com.canonical.certification.meta-test/jobs/tests.txt

  • Committer: Zygmunt Krynicki
  • Date: 2014-02-25 20:16:41 UTC
  • mto: This revision was merged to the branch mainline in revision 2722.
  • Revision ID: zygmunt.krynicki@canonical.com-20140225201641-85bui55zl65jvism
providers: add the meta-test provider

PlainBox can now test itself, with itself :-)

The self-test provider contains jobs that know how to execute unit tests,
integration tests, collect and generate coverage reports and do it all
in the right order. Built with regular jobs and whitelists.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
id: plainbox/unit-tests
 
2
summary: PlainBox Unit Tests
 
3
description:
 
4
    Run PlainBox Unit Tests.
 
5
    .
 
6
    This job runs all of the plainbox unit tests. The tests are executed with
 
7
    automatic coverage and branch analysis.
 
8
    .
 
9
    This test depends on the test that resets coverage data.
 
10
depends:
 
11
    support/virtualenv
 
12
    coverage/erase
 
13
plugin: shell
 
14
estimated_duration: 5.0
 
15
command:
 
16
    .. $PLAINBOX_SESSION_SHARE/virtualenv/bin/activate
 
17
    coverage run --append --branch \
 
18
        --module plainbox self-test --after-reexec --quiet --unit-tests
 
19
 
 
20
id: plainbox/integration-tests
 
21
summary: PlainBox Integration Tests
 
22
command:
 
23
    .. $PLAINBOX_SESSION_SHARE/virtualenv/bin/activate
 
24
    coverage run --append --branch \
 
25
        --module plainbox self-test --after-reexec --quiet --integration-tests
 
26
depends:
 
27
    support/virtualenv
 
28
    coverage/erase
 
29
plugin: shell
 
30
estimated_duration: 1.0
 
31
description:
 
32
    Run PlainBox Integration Tests.
 
33
    .
 
34
    This job runs all of the plainbox "integration tests". Integration tests
 
35
    are really mis-named and should eventually be removed and transitioned into
 
36
    testing all of the providers that live in this project. In practice
 
37
    integration tests run a set of automated tests on a small subset of the
 
38
    "checkbox source" provider.
 
39
    .
 
40
    This test depends on the test that resets coverage data.