From: SourceForge.net <no...@so...> - 2009-12-01 02:20:29
|
Feature Requests item #1630834, was opened at 2007-01-08 19:21 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=1630834&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: Christian Queinnec (queinnec) Assigned to: Nobody/Anonymous (nobody) Summary: Accurately naming parameterized tests Initial Comment: Hi, Naming parameterized tests with numbers 1, 2, ..., N,makes difficult to retrieve the exact test that fails. For instance, for a compiler I wrote, I successively evaluate long series of files (all are evaluated with the same method) and prefer to see the filename rather than the number of the test. Here are the changes: @Parameter now returns a Collection of TestClassParameters: an interface that offers two methods: getParameters() to retrieve the array of values and getName() to name the particular test. It looks nice under Eclipse. Hope it may help. Thanks for your great job. ---------------------------------------------------------------------- >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: Anli Shundi (anshnd) Date: 2009-11-16 18:56 Message: Please vote at http://github.com/KentBeck/junit/issues/#issue/44 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- Comment By: dasblinkenlight (dasblinkenlight) Date: 2007-08-20 23:18 Message: Logged In: YES user_id=1827208 Originator: NO A related discussion at https://sourceforge.net/tracker/?func=detail&atid=365278&aid=1742040&group_id=15278 discusses alternative ways of addressing the same problem. I think that the Parameterized.java patch breaks backward compatibility, because parameterized test suites with @Parameters methods returning collections of Object[] will no longer work (I did not try it out, so there is a possibility that I missed something when reading the code; I'm sorry if I did). At the very least, the patch should address this issue by falling back on the old implementation when the @Parameters method returns object arrays not wrapped in TestClassParameters implementations. However, I still think that a solution based on @TestName annotation would be cleaner. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=365278&aid=1630834&group_id=15278 |