The features_extra_test module has fe_nodequeue as a dependency. If, like us, you're not using that part of features_extra and don't have nodequeue installed it means the tests fail.

Comments

pfrenssen’s picture

Status: Active » Closed (works as designed)

Yes that is normal. You need to have all dependencies installed for the tests to pass. They are listed as "test_dependencies[]" in the .info file, this instructs automated test bots to download these projects before running the tests. If you run tests manually, you will need to download them yourself, the Simpletest module doesn't do that.

lambic’s picture

But we don't want or need the nodequeue functionality. I believe it's possible to put a 'dependencies' key in individual tests' getInfo function so that those tests only run if the dependencies are available.

Stevel’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Issue summary: View changes
Status: Closed (works as designed) » Active

Although Simpletest doesn't automatically downloads the dependencies, it can be made to skip tests with missing dependencies. I'll roll a patch for this shortly.

Stevel’s picture

Title: Tests fail if nodequeue is not available » Tests fail if some test dependencies are not available
StatusFileSize
new1.35 KB
Stevel’s picture

Status: Active » Needs review

This needs review

Stevel’s picture

Cleaned up some whitespace and hopefully fixing the failing test.