#expectedFailures could be implemented like this and we could support strategies: TestCase class>>expectedFailures ^ (Pragma allNamed: #expectedFailure from: self to: TestCase) collect: [ :each | each selector ] Lukas 2009/10/1 Adrian Lienhard <adi@netstyle.ch>:
Actually it would make sense to use pragmas as the information gets closer to the test. Any taker?
Adrian
On Sep 22, 2009, at 13:24 , Damien Cassou wrote:
On Tue, Sep 22, 2009 at 12:24 PM, Tudor Girba <girba@iam.unibe.ch> wrote:
How can I mark a test as being an expected failure?
you do not need a pragma. Instead, override #expectedFailures and return an array of selectors.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch