ObjectFab GmbH - Logo JunitDoclet - Logo

When I'm renaming a method, the existing test will be in the right place after regenerating. How could JUnitDoclet know?

You are using a tool that can rename in comments, when performing that refactoring. (IntelliJ IDEA is the tool we are using for development of JUnitDoclet). The markers are comments and your tool finds them. :-)