Roundup Tracker - Issues

Message5373

Author jerrykan
Recipients jerrykan, schlatterbeck, techtonik
Date 2015-09-07.13:08:36
Message-id <55ED8C4E.5050206@jerrykan.com>
In-reply-to <20150907084403.GA18752@runtux.com>
On 07/09/15 18:44, Ralf Schlatterbeck wrote:
>
> Ralf Schlatterbeck added the comment:
>
> On Mon, Sep 07, 2015 at 08:20:45AM +0000, anatoly techtonik wrote:
>> And as for the subject of this ticket, I think we can try to move
>> py.test. Just don't forget to include argumentation for those who
>> will jump in later.
>
> I also followed this ticket and also think we can move to a new
> framework. Note that currently we're skipping tests if some package is
> not installed (e.g. mysql, postgres) and report about skipped tests in
> that case. So it should still be possible to run all tests for which the
> necessary dependencies exist and skip the rest.

The one issue with how the test skipping currently works is that the 
user is informed that a class of tests are being skipped, but doesn't 
give any indication of why (though that may be somewhat obvious) or how 
many tests are being skipped. The proposed patch set performs the same 
checks and skips tests (using the pytest.mark.skipif() decorator) that 
have missing packages/components.

Given that there doesn't seem to be any objections to switching to 
pytest, I'll look at fixing a few issues I've noticed with the initial 
patch set and have a new patch set ready to be applied once Roundup 
v1.5.1 has been released and python2.5 is no longer a dependency.
History
Date User Action Args
2015-09-07 13:08:37jerrykansetrecipients: + jerrykan, schlatterbeck, techtonik
2015-09-07 13:08:37jerrykanlinkissue2550894 messages
2015-09-07 13:08:36jerrykancreate