No easy way to skip a Test

Bug #1159142 reported by Federico Razzoli on 2013-03-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Federico Razzoli

Bug Description

This is a feature request received by Federico in a private conversation.

Now, to skip a test, one should DROP it and re-create it when he wants to enable it; or replace it with a test with the same name which does nothing.

We should implement stk_unit.ignore_test(tc)

In the TR summary, number of ignored BTs should appear. In the report, their names should appear.

Changed in stk-unit:
assignee: nobody → Federico Razzoli (santec)
Changed in stk-unit:
importance: High → Wishlist
Federico Razzoli (santec) wrote :

Following Procedures will be added:

1) base_test_skip(tc, bt)
2) base_test_unskip(tc, bt)

1) must return errors if:
* tc not exists
* bt not exists in tc

2) must return errors if:
* tc not exists
* bt not exists in tc
* is not currently skipped

Federico Razzoli (santec) wrote :

Skipped BTs must be catched by a different query+cursor, so that we dont slow down the main cursor (which is already slow).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers