Rick,

It's because of ooRexxUnit being structured, or patterned, after
jUnit.  I forget the jUnit details exactly, it's been awhile since I
read the doc on it, but it has to do with everything being a test.  So
in ooRexxUnit, both a TestSuite and a TestCase are 'tests.'

So, when the containing TestSuite gets constructed and executes, it is
counted as a test, and the test case gets counted as a test, and I
forget where the third one comes from.

There is always at least 2 extra tests reported.  I was never real
happy with that, but like a lot of things for me, it wasn't a big
enough deal to change.  Originally, I didn't want to change
ooRexxUnit.  Now, like I said, it is not that big a deal to me.

If the report says 14,567 tests run, then an extra 2 tests doesn't
seem significant.  And, I thought I was the only one that took
advantage of being able to just run one test case instead of the whole
suite.  <grin>

--
Mark Miesfeld

On Thu, Apr 29, 2010 at 8:50 AM, Rick McGuire <object.r...@gmail.com> wrote:
> When working on debugging the regex code, I frequently use a stripped
> down test group that contains just a single test method and the few
> assertions I'm currently debugging.  Here's the output from this:
>
> Interpreter:     REXX-ooRexx_4.1.0(MT) 6.03 21 Apr 2010
> Addressing Mode: 32
> ooRexxUnit:      2.0.0_3.2.0    ooTest: 1.0.0_4.0.0
>
> Tests ran:           3
> Assertions:          1
> Failures:            0
> Errors:              0
> Skipped files:       0
>
> Test execution:     00:00:00.000000
>
> Why does this say there are *3* tests run?  There is only one test
> method in the testGroup.
>
>
> Rick
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to