Merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/spike_manage_test_metadata into lp://staging/ubuntu-system-tests

Proposed by Sergio Cazzolato
Status: Work in progress
Proposed branch: lp://staging/~canonical-platform-qa/ubuntu-system-tests/spike_manage_test_metadata
Merge into: lp://staging/ubuntu-system-tests
Diff against target: 172 lines (+156/-0)
3 files modified
ubuntu_system_tests/external_tests/suites/__init__.py (+116/-0)
ubuntu_system_tests/external_tests/suites/dialer_tests.json (+26/-0)
ubuntu_system_tests/external_tests/suites/webbrowser_app.json (+14/-0)
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/ubuntu-system-tests/spike_manage_test_metadata
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Canonical Platform QA Team Pending
Review via email: mp+261791@code.staging.launchpad.net

Description of the change

Experimental approach to manage test metadata

This approach is similar to the one that TestNG uses defining groups of tests/testsuites.

The idea is to manage all the metadata of the test cases in a json file in a similar way that the Richards implementation.

This piece of code is not the whole implementation, it is just what I would change.

---------------
HOW TO TEST IT:
---------------

import suites
man = suites.TestMetadataManager()

print(man.get_tests_and_dependencies(group='Web'))

print(man.get_tests_and_dependencies()

print(man.get_tests_and_dependencies(suite='dialer_app', group='Telephony'))

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:129
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~canonical-platform-qa/ubuntu-system-tests/spike_manage_test_metadata/+merge/261791/+edit-commit-message

http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sanity-tests-ci/335/
Executed test runs:
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sanity-tests-wily-amd64-ci/106
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sanity-tests-wily-armhf-ci/107
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sanity-tests-wily-i386-ci/106

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sanity-tests-ci/335/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Setting back to WIP, please reset to needs review if you still want it to land

Unmerged revisions

129. By Sergio Cazzolato

experimental approach to manage test metadata

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: