Hi Mark,
thank you for the offer. Fortunately that was all I needed to see how silly
I had been. I took the trunk stream.testgoup and made it the basis for a
3.2.0 csvstream.testgroup.
Thank you for your patience.
I think I will try to do it as you suggest. The stream testgroup seems a
good place to go for examples of how to go about constructing the tests
though.
thanks,
Jon
On 16 December 2010 17:24, Mark Miesfeld <[email protected]> wrote:
> On Thu, Dec 16, 2010 at 8:51 AM, Sahananda (Jon) Wolfers
> <[email protected]> wrote:
>
> > OK. I'm quickly back out of my depth. I took the stream class file and
> > changed the init methods to all call csvstream class instead of stream
> > class.
>
> Jon, I'll help with this, but it will have to wait until this evening
> (my time.)
>
> You can do one of two things, commit the test case you have, or mail
> it to me. I'll take a look this evening.
>
> I didn't say anything at the time, but I was thinking you might be
> better off starting a new test case rather than copying the stream
> test case. Just put in some simple tests to begin with and then add
> to it, by taking some example tests from the stream test case.
>
> --
> Mark Miesfeld
>
> >
> > There was a second class in the file called
> StreamClassQualify_QueryExists,
> > and though I'm not clear what it does I renamed it to
> > CSVStreamClassQualify_QueryExists and changed the code adding it to the
> > testgroup so that it is now added:
> >
> >> group = .TestGroup~new(s)
> >> group~add(.csvStream.testGroup)
> >> group~add(.CSVStreamClassQualify_QueryExists)
> >
> >
> > When I try and run the test suite (the 3.2.0 version as that is what I
> have
> > installed I get 4 assertions failing. Three not to do with my changes,
> and
> > then this fatal failure
> >
> >> [Framework exception] [20101216 16:38:35.156000]
> >> File: C:\Documents and
> >> Settings\...\extensions\csvstream\csvStream.testGroup
> >> Line: 46
> >> Type: Trap Severity: Fatal
> >> Argument 1 'test' is a test type (1) already contained by this test
> >> group.
> >> 1221 *-* raise syntax 88.917 array ("1 'test'", "is a test type
> >> ("test~ooT
> >> estType") already contained by this test group.")
> >> 46 *-* group~add(.CSVStreamClassQualify_QueryExists)
> >>
> >>
> >> Interpreter: REXX-ooRexx_3.2.0(MT) 6.02 30 Oct 2007
> >> ooRexxUnit: 2.0.0_3.2.0 ooTest: 1.0.0_3.2.0
> >>
> >> Tests ran: 16622
> >> Assertions: 537899
> >> Failures: 4
> >> Errors: 1
> >> Skipped files: 0
> >>
> >> File search: 00:00:57.000000
> >> Suite construction: 00:00:02.140000
> >> Test execution: 00:02:23.750000
> >> Total time: 00:03:23.453000
> >>
> >
> > Sadly, I do not understand the error message.
> >
> > thanks,
> >
> > Jon
> >
> > On 16 December 2010 13:39, Sahananda (Jon) Wolfers <
> [email protected]>
> > wrote:
> >>
> >> Thanks Rick
> >>
> >> Will get back to it when I can
> >>
> >> Jon
> >>
> >> On 16 December 2010 09:44, Rick McGuire <[email protected]> wrote:
> >>>
> >>> On Thu, Dec 16, 2010 at 2:38 AM, Sahananda (Jon) Wolfers
> >>> <[email protected]> wrote:
> >>> > I want to supply a testgroup for csvStream class and it makes sense
> to
> >>> > base
> >>> > it on the one already available for stream.
> >>> >
> >>> > Obviously these testgroups touch the file operating system and the
> >>> > stream
> >>> > testgroup makes use of several filenames within the current directory
> >>> >
> >>> > Is it possible that within the test framework the stream.TestGroup
> >>> > could run
> >>> > concurrently with a csvStream.TestGroup (and thus jigger up each
> others
> >>> > test
> >>> > files)?
> >>>
> >>> No, the framework doesn't run any of the tests in parallel, so you
> >>> should be ok there.
> >>>
> >>> Rick
> >>>
> >>> >
> >>> > The csvStream should pass all of it's superclass's assertions - is it
> >>> > overkill to leave them all in the new testgroup.
> >>>
> >>> If it *should* pass all of those assertions, then it is not overkill
> >>> to test that this is true!
> >>>
> >>> Rick
> >>>
> >>> >
> >>> > thanks,
> >>> >
> >>> > Jon
> >>> >
> >>> >
> >>> >
> >>> >
> ------------------------------------------------------------------------------
> >>> > Lotusphere 2011
> >>> > Register now for Lotusphere 2011 and learn how
> >>> > to connect the dots, take your collaborative environment
> >>> > to the next level, and enter the era of Social Business.
> >>> > http://p.sf.net/sfu/lotusphere-d2d
> >>> > _______________________________________________
> >>> > Oorexx-devel mailing list
> >>> > [email protected]
> >>> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> >>> >
> >>> >
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Lotusphere 2011
> >>> Register now for Lotusphere 2011 and learn how
> >>> to connect the dots, take your collaborative environment
> >>> to the next level, and enter the era of Social Business.
> >>> http://p.sf.net/sfu/lotusphere-d2d
> >>> _______________________________________________
> >>> Oorexx-devel mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> > _______________________________________________
> > Oorexx-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel