Climate tox.ini coverage doesn't work for isolated tests

Bug #1278910 reported by Christian Martinez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Blazar
Fix Released
Low
Christian Martinez

Bug Description

There is no way to run coverage reports for an isolated single testsuite using tox. For instance the one's related to the issue https://bugs.launchpad.net/climate/+bug/1259559,

For example, at climate folder, if you run :
$tox -ecover climate.tests.db.sqlalchemy.test_sqlalchemy_api

not only this sqlalchemy tests but all the tests that match the current regex on the tox.ini will run. This affects the final coverage results precision.

Revision history for this message
Christian Martinez (christian-martinez) wrote :
Changed in climate:
assignee: nobody → Christian Martinez (christian-martinez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to climate (master)

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

Changed in climate:
status: New → In Progress
Dina Belova (dbelova)
Changed in climate:
importance: Undecided → Low
milestone: none → 0.1.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to climate (master)

Reviewed: https://review.openstack.org/72674
Committed: https://git.openstack.org/cgit/stackforge/climate/commit/?id=c6d19b169ca85eb1edcccbf17d2efeebb95440ec
Submitter: Jenkins
Branch: master

commit c6d19b169ca85eb1edcccbf17d2efeebb95440ec
Author: Christian Martinez <email address hidden>
Date: Tue Feb 11 12:01:50 2014 -0300

    Modifying coverage tox.ini configuration

    When trying to run isolated tests suites, found an issue regarding
    the regex used. I just used the posargs variable instead of the
    regex to fix the issue.

    Change-Id: I2b12aad2021e958b0711d6816422f23c8db86d3d
    Closes-Bug: #1278910

Changed in climate:
status: In Progress → Fix Committed
Changed in blazar:
status: Fix Committed → Fix Released
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.