petdance/scratch — Issue #653: test subclasses of core PMCS
Author: petdance
Created: 2011-11-14 06:12:06+00:00
State: open
Labels: Pri-normal, Sev-low, testing, todo

One of the common failure modes for partcl is that a subclass of a parrot core PMC causes a problem due to code in the PMC that assumes (accidentally) that it will never be subclassed.
So, one way to protect HLL authors is to, for each core PMC test, have a corresponding test file that runs similar/identical tests except with a subclass. (The subclass can be a basic subclass with no overrides.)

It would be nice if the testing framework did this automatically, so that test writers did not have to keep 2 files per PMC in sync whenever tests were added.

Originally http://trac.parrot.org/parrot/ticket/1082 by coke (@coke)