[py-dev] the seeming need of task-based build-tool properties in py.test

Adam Adam.Schmalhofer at gmx.de
Mon Feb 15 14:50:31 CET 2010


Ronny Pfannschmidt wrote:

> as needs like dependend tests, [...]
> it seems like we are going tinto the direction of a task-based build
> tool where each test item is a 'task' that may depend on other tasks and
> has possible checked preconditions for being executed.

A test dependency is IMO very different to a build dependency. With a
build dependency the task can't be run until it's dependency have
produced their product. If they are run in a wrong order, it produces a
broken build.

OTOH the test dependencies are only relevant for interpreting why a test
failed. If (at least) one dependency failed, I don't care if the test
passt or not. In which order the two were run is irrelevant. Sure, if I
ran the dependency first, I can save time, but as (with the exception of
looponfailing) '#failed test << #tests' it shouldn't make much of a
difference).

--Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20100215/d63a45e5/attachment.pgp>


More information about the Pytest-dev mailing list