djezzzl / factory_trace

Simple tool to maintain factories and traits from FactoryBot
MIT License
381 stars 7 forks source link

Many factories/traits are reported as unused while they are #32

Closed linjaredrockies closed 1 year ago

linjaredrockies commented 1 year ago

I used this gem and ran an rspec with it on my project. There are almost as many unused factories/traits as used ones reported. By examing some of those "unused" ones, they are used actually (called in some examples and those examples were executed). What could have been wrong? Thanks.

djezzzl commented 1 year ago

Hi @linjaredrockies,

Could you please provide more details? Have you executed the gem on CI or locally? How many specs do you have? Maybe, you can look through at least one example and reproduce it? That would be vary valuable to investigate the issue.

djezzzl commented 1 year ago

Hi @linjaredrockies,

Unfortunately, I couldn't reproduce the issue on my own. I would be glad if you provide more details so I can look into it and fix the gem.

Please feel free to reopen the issue if you need to.