Skip Menu |

This queue is for tickets about the Map-Tube CPAN distribution.

Report information
The Basics
Id: 102664
Status: resolved
Priority: 0/
Queue: Map-Tube

People
Owner: MANWAR [...] cpan.org
Requestors: GWS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.87
Fixed in: 2.88



Subject: Map::Tube Support for testing of Map::Modules
Map modules can use infrastructure supplied by Map::Tube. In particular, the method _validate_map_data() may be used. If this method detects an error in the XML map file, it will throw an exception. Unfortunately in the setting of standard module tests, the exception will be caught by the framework. Hence, the detailed message that comes with the exception will never be displayed to the user=tester. Instead, the standard failure message from the test framework will not include information useful for locating the problem. It would be nice if the detailed error message were presented to the user=tester somehow, in order to ease finding the problem; maybe by (also?) writing the error message to STDERR. For demonstration purposes, take the build test of M::T::Moscow in version 0.04 (later versions have been fixed).
Hi, Thanks for raising the issue. Code has been patched as per your suggestion. https://github.com/Manwar/Test-Map-Tube/commit/699e1630e844907885681fc356bb7af8783ff429 Many Thanks. Best Regards, Mohammad S Anwar
Resolved in v2.88.