[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #295: Nested test groups report success even when sub
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #295: Nested test groups report success even when subgroups failed |
Date: |
Sat, 24 Jul 2010 14:29:04 -0000 |
#295: Nested test groups report success even when subgroups failed
------------------------+---------------------------------------------------
Reporter: sjamaan | Owner: ashinn
Type: defect | Status: new
Priority: major | Milestone:
Component: extensions | Version:
Keywords: |
------------------------+---------------------------------------------------
Here's an example:
{{{
#;1> (use test)
#;2> (test-group "a" (test-group "b" (test-group "c" (test 1 2))))
-- testing a
-----------------------------------------------------------------
-- testing b
-------------------------------------------------------------
-- testing c
---------------------------------------------------------
2 ............................................................ [
FAIL]
expected 1 but got 2
1 test completed in 0.009 seconds.
1 failure (100%).
0 out of 1 (0%) tests passed.
-- done testing c
----------------------------------------------------
1 subgroup completed in 0.01 seconds.
0 out of 1 (0%) subgroups passed.
-- done testing b
--------------------------------------------------------
1 subgroup completed in 0.011 seconds.
1 out of 1 (100%) subgroup passed.
-- done testing a
------------------------------------------------------------
}}}
Subgroup C fails, causing subgroup B to report failure as well, but
somehow subgroup A thinks subgroup B didn't fail.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/295>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #295: Nested test groups report success even when subgroups failed,
Chicken Trac <=