From: SourceForge.net <no...@so...> - 2009-08-20 14:39:05
|
Feature Requests item #2840526, was opened at 2009-08-19 15:03 Message generated for change (Comment added) made by dsaff You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=2840526&group_id=15278 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Brian Bonner (bkbonner) Assigned to: Nobody/Anonymous (nobody) Summary: Extend TestMethod and @Ignore Annotation with a Conditional Initial Comment: I'd like to extend the TestMethod code for isIgnored() to include a new Conditional plugin. The conditional would be specified by a Class that implements a Conditional interface that returns a boolean and can take parameters. An example I'm thinking of would be to allow an OfflineConditional which would take a URL that the user could test for the occurrence of this site and skip tests in a TestCase if the site was not available. @Ignore(@Offline("http://www.notthere.com")) I hope this makes sense. Would this be useful, or can I accomplish this in some other way? ---------------------------------------------------------------------- >Comment By: David Saff (dsaff) Date: 2009-08-20 10:39 Message: Have you looked at the assumptions feature in JUnit 4? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=2840526&group_id=15278 |