Closed mattwhitfield closed 1 year ago
I owe you for your services. I hope you can skip the TC generation of the internal class. Thank you:)
This should be available in 0.195 👍 Under 'Generation Options' there is 'Skip internal types on multiple generation' (SkipInternalTypesOnMultipleGeneration in a config file)
The logic is currently:
If we are generating for more than one source file and the option is enabled, skip internal types
There is an edge case - if one source file has 50 types in it, then it wouldn't filter internal types...
Interested to hear your thoughts on that.
The reason it doesn't always skip them, is because if people right click on a single file and click 'generate tests' but nothing happens then it can be confusing.
It applies well. Thank you :)
If you are generating for multiple types, all potential types will have tests generated for them. We would like to add the ability to skip internal types during this process.