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

Fields/Methods specified in profile do not work for input/output/globals #38

Closed almondtools closed 7 years ago

almondtools commented 7 years ago

Any reflective Object keeps the class loader of its creation. Yet for Input/Output/Global we use another class loader. So Input/Output/Globals will be in most cases not matched if specified via profile.

A better solution would be a specification neither using reflection objects nor asm byte code objects.