Hi Michele,

Apologies for not getting back. Please see some responses below.

On Mon, Apr 16, 2012 at 9:24 AM, Michele Mostarda <
[email protected]> wrote:

> Some tests require complex resources like a web server to be performed:
> the crawler needs a full site, some tests perform assertions on HTTP
> requests, that's why we relied for that tests on external resources.
> For this reason we introduced org.apache.any23.Any23OnlineTestBase which
> defines a "any23.online.test.disabled" that allow to disable
> online tests passing a system property.
>

I think this sounds like as close to a great solution as we could hope for
and I think it should stay this way, however this being said, this also
means that we need to accept that the tests may become 'unstable' at any
given time... this is however not to say that the trunk source code is
unstable, just that web services may not be available to perform the tests
correctly! I think it's about weighing both sides of the coin.


>
> Any improvement to smooth this problem is welcome!
>

Yeah... unfortunately based on what you've said above I don't have a eureka
idea just now ;0) maybe later on.

Anyway, regarding the bastard PluginIT#testDetectCLIPlugins...

Can someone please explain to me the absence of CRAWLER_DEPENDENCY_DIR in
the basic-crawler/target workspace [0]?
I can clearly see CRAWLER_TARGET_DIR...

Currently the tests fails @ line 109 assertEquals(7 + 1,
toolClasses.size()); with the following stack trace [2]

This seems to be a rather annoying long standing issue... I've not really
got on top of it at all.

Lewis

[0]
https://builds.apache.org/job/Any23-trunk/ws/plugins/basic-crawler/target/
[1]
https://builds.apache.org/job/Any23-trunk/ws/plugins/basic-crawler/target/classes/
[2]
https://builds.apache.org/job/Any23-trunk/org.apache.any23.plugin$any23-integration-test/175/testReport/org.apache.any23.plugin/PluginIT/testDetectCLIPlugins/

Reply via email to