almondtools / testrecorder

Create Test Fixtures from Runnable Java Code
http://testrecorder.amygdalum.net/
GNU Lesser General Public License v3.0
51 stars 5 forks source link

Allow Hints beyond annotations #82

Closed almondtools closed 6 years ago

almondtools commented 6 years ago

Currently hints (e.g. @LoadFromFile or @Builder or @Setter) are derived from annotations (of the type, the parameter or the result). Yet sometimes we want to give hints on third party objects that we cannot annotate.

There should be a convenient method to specify hints detached from the object the hint is meant for.

almondtools commented 6 years ago

Since such hints are not needed for serialization, they should be best specified in a configuration that is dedicated to the hint users, respectively the classes TestGenerator and ScheduledTestGenerator.