Problem/Motivation

The following tests are not executed by the testbot:

  • Common Syndication Parser (CommonSyndicationParserTestCase)
  • Mapper: Date, multi value fields (FeedsMapperDateMultipleTestCase)
  • Mapper: Date (FeedsMapperDateTestCase)
  • Mapper: Link (FeedsMapperLinkTestCase)
  • Sitemap parser (FeedsSitemapParserTestCase)
  • Syndication parsers (FeedsSyndicationParserTestCase)

I suspect they were left out because most of these tests require additional dependencies and the testbot wasn't able to handle that in the past.
I'd like to have the testbot executing all tests. Right now I'm extending the tests for (among more) the mappers "date" and "link" in #1107522: Framework for expected behavior when importing empty/blank values + text field fix and I'd like the testbot to test these additional tests.

Proposed resolution

  • List all test files in the feeds.info file.
  • Add test_dependencies[] for modules required by the tests.

Unfortunelately, the testbot will not execute the missing tests that have extra dependencies until after commit, because - if I'm not wrong - it will not load these dependencies from a patch.

Remaining tasks

See the proposed resolution.

User interface changes

-

API changes

-

Patch will follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MegaChriz’s picture

Status: Active » Needs review
FileSize
7.5 KB

The attached patch add the missing test files to feeds.info and adds test_dependencies[] to feeds_test.info. Additionally it also fixes the tests Sitemap parser (which was still partly in D6 style) and Syndication parsers (which missed a download of SimplePie).

  • twistor committed 8e9bcf6 on 7.x-2.x authored by MegaChriz
    Issue #2415283 by MegaChriz: Some tests are not executed by testbot
    
twistor’s picture

Status: Needs review » Fixed

I didn't verify that all dependencies were added, but this looks good.

Nice find! ouch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.