You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Sami Siren <ss...@gmail.com> on 2006/08/22 17:27:49 UTC
Junit testing, was: Re: [jira] Updated: (NUTCH-357) crawling simulation
Stefan Groschupf (JIRA) wrote:
>
> A very first preview of a plugin that helps to simulate crawls. This
> protocol plugin can be used to replace the http protocol plugin and
> return defined content during a fetch. To simulate custom scenarios a
> interface names Simulator can be implemented with just one method.
> The plugin comes with a very simple basic Simulator implementation,
> however this already allows to simulate the by today known nutch
> scoring problems, like pages pointing to itself or link chains. For
> more details see the java doc, however I plan to improve the java doc
> with a native speaker.
>
> Feedback is welcome.
One must also remember that proper junit testing can be used to verify
functionality.
There's lot of code currently that is not guarded by unit tests and I
hereby invite everybody to participate in this endless effort and make
Nutch unit tests better ;)
--
Sami Siren
Re: Junit testing, was: Re: [jira] Updated: (NUTCH-357) crawling simulation
Posted by Stefan Groschupf <sg...@101tec.com>.
> One must also remember that proper junit testing can be used to
> verify functionality.
> There's lot of code currently that is not guarded by unit tests and
> I hereby invite everybody to participate in this endless effort and
> make Nutch unit tests better ;)
I completely agree!!!
Nutch has more bugs than ever before since most of the .8 code was
developed without tests.
Stefan