I would use the method names used for
can_ok to generate the method stubs.
But there are several problems:
- what if you have typos (in method names) in the test
- you correct them, is it a new sub or is it possible to identify the misspelled sub in the generated code?
- ...