No easy way to skip a Test

Bug #1159142 reported by Federico Razzoli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
STK-Unit
Triaged
Wishlist
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
Revision history for this message
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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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