Standard Python unit-testing should be enough, unless you need to test
asynchronous/deferred code.
> --
> You received this message because you are subscribed to the Google Groups "scrapy-users" group.
> To post to this group, send email to scrapy...@googlegroups.com.
> To unsubscribe from this group, send email to scrapy-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scrapy-users?hl=en.
But nothing prevents you from using standard Python unit-testing facilities to
test the Spider object methods (ie. the callbacks).
You build the Response in the test code, and then call the method with the
response and assert that you get the expected items/requests in the output.
A warning though: automating is the key. Otherwise, if you manage a lot of
spiders, you may find that testing may take even longer than writing the
spiders themselves - though this applies to other software testing as well, not
only spiders :)
Pablo.