7 of 8 Tests Passed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

7 of 8 Tests Passed

Horace Debussy Jones
When I run a suite with eight tests, one fails.  The following is written to the screen when the tests complete:

FAILED (7/8 tests)

Shouldn't it read:

PASSED (7/8 tests)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7 of 8 Tests Passed

Ian Blumel
Administrator
On 8 February 2011 13:07, Horace Debussy Jones [via fctx]
<[hidden email]> wrote:
> When I run a suite with eight tests, one fails.  The following is written to
> the screen when the tests complete:
>
> FAILED (7/8 tests)
>
> Shouldn't it read:
>
> PASSED (7/8 tests)

I suppose, in my mind I was simply aiming to notify you that you
"failed" to execute all tests (and give you a ratio at the same time).

I am half-way pondering moving the standard logging system to use the
test-anything protocol, but then you wouldn't get a nice summary
unless you drove it through a separate parser.

--
Ian Blumel
www.wildbearsoftware.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7 of 8 Tests Passed

Horace Debussy Jones
Ian,

Now that I understand why you did it the way you did, it makes sense to me.

Thanks for responding,

Horace
Loading...