scrapinghub / scrapy-autounit

Automatic unit test generation for Scrapy.
BSD 3-Clause "New" or "Revised" License
55 stars 13 forks source link

Test grouping #13

Closed andrewbaxter closed 5 years ago

andrewbaxter commented 5 years ago

I have a spider that runs differently depending on a parameter and currently all the tests are mixed together. Would it be possible to separate tests into different folders by spider arguments (-a) as well as spider/callback?

Maybe something like what the feed export plugin does where you can use any attribute?

fcanobrash commented 5 years ago

Solved in PR https://github.com/scrapinghub/scrapy-autounit/pull/20