[TIP] Result protocol / problems being solved

Laura Creighton lac at openend.se
Mon Apr 13 21:30:47 PDT 2009

In a message of Mon, 13 Apr 2009 22:18:58 EDT, laidler at stsci.edu writes:
>2. I want to be able to easily distinguish the following:
>   2A. Broken software
>   2B. Broken tests
>   2C. Broken execution environments
>and distinguish them from deliberately (by human or machine) omitted test
>Implications for result protocol: Status should distinguish between Fail 
>(implies broken software) and Error (implies broken test or execution env
>ironment); and possibly further distinguish between "error during test" a
>nd "error attempting to set up test" (might distinguish between broken te
>st and broken environment, although it might be sufficient to use the env
>ironment-related bookkeeping from case 1 for this).


>Did I miss anything?

Some things I've read last week ....

Some people have tests that are expected to run for a particular amount
of time.  They want a special way to tell when the test didin't run
for that amount of time.

Some people want a way to indicate that they expect a test to fail
in a certain way, so that when it fails in a different way they can
make those differences stand out.

Some people are testing hardware.  I think that Error (meaning
broken test or execution env) won't be enough for them.  They need to
distinguish between 'my hardware didn't work properly' and 'something
is wrong in this test' and 'this hardware didn't have the correct
software loaded on it before we even tried to run this test'.

Whether this last is a special case of the second, I am not sure.


More information about the testing-in-python mailing list