The relevant code checks $dependency_data, but that is not defined anywhere.
We have a test for this, but we only test that we can hide a test, not that a test with valid dependencies shows up
The relevant code checks $dependency_data, but that is not defined anywhere.
We have a test for this, but we only test that we can hide a test, not that a test with valid dependencies shows up
Comments
Comment #1
sunSince I re-implemented this code for #697760: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit), I manually tested the new code — based on my testing, this should work correctly now?
Also adding a closely related issue.
Comment #7
mile23Some work on implementing @requires for WTB here, though it's doubtful it will happen since simpletest-based tests are basically deprecated at this point: #1273478: Implement @requires and @dependencies within TestBase, mark tests as skipped
PHPUnit-based tests BTB and KTB can specify modules be present in the file system: https://www.drupal.org/node/2857979
Other dependencies are handled by PHPUnit's @require. Only WTB tests are discarded by TestDiscovery, and that's being solved in #1273478: Implement @requires and @dependencies within TestBase, mark tests as skipped which is why I'm marking this issue as a duplicate.