SUnit missing tests.
Diego Fernandez
diegof79 at gmail.com
Sat Jun 3 01:56:45 UTC 2006
If you use the Test Runner in 3.9, take a look at TestRunner>>findCategories
and TestRunner>>findClassesForCategories: maybe you can debug those methods
to see what's happening.
Also if you could print:
(TestCase buildSuite tests collect: [:aTest | aTest class ]) asSet includes:
YourMissingTestCaseClass
If this returns true.. then is a problem in the test runner, if returns
false, maybe your TestCase declares #isAbstract as true, or the super-class
is incorrect.
I hope this helps.
Cheers,
Diego
On 02 Jun 2006 15:57:32 -0400, R. Clayton <rvclayton at acm.org> wrote:
>
> I have a project with the following categories and classes:
>
> ContextFreeGrammar
> ContextFreeGrammar
> ContextFreeGrammarTests
> GrammarProduction
> GrammarProductionTests
> EarleyParser
> EarleyParser
> EarleyParserTestCases
> EarleyParserTests
> ParseState
> ParseStateSet
> ParseStateSetTests
> ParseStateTests
>
> When I open a SUnit test runner, it lists the following:
>
> [blah blah blah]
>
> ColorTest
> CompiledMethodTest
> ComplexTest
> DateAndTimeEpochTest
>
> [blah blah blah]
>
> DurationTest
> EarleyParserTestCases
> EarleyParserTests
> EventManagerTest
>
> [blah blah blah]
>
> FractionTest
> HashAndEqualsTestCase
>
> [blah blah blah]
>
> OrderedCollectionTest
> ParseStateSetTests
> ParseStateTests
> PasteUpMorphTest
>
> [blah blah blah]
>
> That is, it's missing ContextFreeGrammarTests and
> GrammarProductionTests. How
> can I fix or get around this? I've tried various combinations of
>
> 1 switching between "Test" and "Tests",
>
> 2 filing out, deleting, and filing back in, and
>
> 3 closing and reopening the test runner
>
> with no success. This is squeak 3.8 update 6665 on a debian testing
> system.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060602/029b3cd4/attachment.htm
More information about the Squeak-dev
mailing list
|