traver icon indicating copy to clipboard operation
traver copied to clipboard

Is there support/autodetect for file-per-factory-definition approach?

Open ivan-kolmychek opened this issue 9 years ago • 1 comments

Basicaly, can traver automatically load all factory definitions from files from somewhere like spec/traver_factories/?

I don't see this mentioned in readme.

ivan-kolmychek avatar Aug 30 '16 13:08 ivan-kolmychek

No, for now it can only load factories from factories.rb or from traver_factories.rb inside test or spec directories. That's easy to change. This functionality located in FactoriesLoader class. You can make a PR if you want :)

yukas avatar Aug 30 '16 16:08 yukas