Decorator for skipping tests hitting known bugs

Bug #1406950 reported by Daniel Korn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Daniel Korn

Bug Description

Adding an option to skip tests methods and classes when hitting know bug might be a useful util for the integration tests.

The decorator should be based on top of the foundation written in:
openstack_dashboard/test/integration_tests/tests/decorators.py

Daniel Korn (dkorn)
Changed in horizon:
assignee: nobody → Daniel Korn (dkorn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/144695

Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/144695
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5b56140650969505f34a02f51f3b480d4609b7af
Submitter: Jenkins
Branch: master

commit 5b56140650969505f34a02f51f3b480d4609b7af
Author: dkorn <email address hidden>
Date: Thu Jan 1 16:48:07 2015 +0200

    Decorator for skipping tests hitting known bugs

    Adding skip_because decorator that can be used for decorating test
    classes as well as test methods.
    Decorator expects to recieve the bug numbers causing the test to skip.

    Partially implements blueprint: selenium-integration-testing
    Closes-Bug: #1406950

    Change-Id: Ie5eec615f09b6b2b20a73e372db2371ab1bf2819

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.