From: SourceForge.net <no...@so...> - 2009-12-01 02:20:31
|
Feature Requests item #1569265, was opened at 2006-10-02 12:57 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=1569265&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: Closed Resolution: None Priority: 5 Private: No Submitted By: Jochen Hiller (jhiller) Assigned to: Nobody/Anonymous (nobody) Summary: Filter / Sorter do NOT have access to current test object Initial Comment: When calling a filter or sorter, there is no access to the current test object. This makes it impossible for own implementations, to call a method on the current test object. E.g. an annotation @Prerequisite(requires="isDBavailable") would like to call an instance method of the current test object. An workaround has been, to implement a custom runner, which has to be attached via @RunWith(AnnotationRunner.class), which checks for own annotations, and then call specific implementation based on the annotation. Could be a template for a general AnnotationSupportingRunner, where own annotations could be registered. Or, extend the filter/sorter interfaces to allow access to current test object. ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2009-12-01 02:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: David Saff (dsaff) Date: 2009-11-16 17:52 Message: This tracker is being shut down. Please move this item to http://github.com/KentBeck/junit/issues ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=1569265&group_id=15278 |