I have unit tests that run on my C# project and pick up almost all the major bugs I write before it gets to release. The issue is I then run an obfuscator over the top of the assembly (renames private variables etc) which occasionally breaks reflection and other WPF related things. Once I find these obfuscator bugs I can easily whitelist the function name etc to fix it however most the time they make it to production before being found.
How can I capture these obfuscator created bugs, is there any easy way to unit test my obfuscated assembly?
Note. My obfuscator produces a reversible lookup map of ObfuscatedName -> OriginalName
Aucun commentaire:
Enregistrer un commentaire