Testing spider on static files

39 views
Skip to first unread message

Roman Yakovenko

unread,
Mar 26, 2011, 4:04:21 PM3/26/11
to scrapy-users
Hello.

I would like to test my spider on the static files and may be to
create a small unit test for it. Is it possible? If so, can you
provide a tip/direction?

Thank you.

zanhsieh

unread,
Mar 27, 2011, 8:21:42 AM3/27/11
to scrapy-users
Hi Roman,

If you look carefully directory on where scrapy installed, there is a
folder under it called test. You could browser all sources over there
and have a quick idea how it could be done. It should be pretty easy.

-M

Roman Yakovenko

unread,
Mar 27, 2011, 3:07:23 PM3/27/11
to scrapy-users
On Mar 27, 2:21 pm, zanhsieh <zanhs...@gmail.com> wrote:
> Hi Roman,
>
> If you look carefully directory on where scrapy installed, there is a
> folder under it called test. You could browser all sources over there
> and have a quick idea how it could be done. It should be pretty easy.

Thanks. This is exactly what I was looking for :-)
Reply all
Reply to author
Forward
0 new messages