In #2042807: Convert search plugins to use a ConfigEntity and a PluginBag some tests were introduced.

Two of them got into the wrong directory. They are in namespace Drupal\search\Tests but they are in directory core/modules/search/tests/Drupal/search/Tests instead of core/modules/search/lib/Drupal/search/Tests.

The test bot seems to find them, but when I run tests interactively, they are not listed at admin/development/testing. They need to be moved.

Comments

tim.plunkett’s picture

Status: Active » Closed (works as designed)

Those are PHPUnit tests. They live in a different place than Simpletest tests.

They also show up under "PHPUnit" on the test listing page.

jhodgdon’s picture

Title: Two search tests are in the wrong directory » No documentation about placement of UnitTest tests
Component: search.module » documentation
Status: Closed (works as designed) » Active
Issue tags: -Novice

Ah, OK. I was not aware of this.

We should probably document it somewhere, such as on
https://drupal.org/node/325974
or
https://drupal.org/node/1929784

I do not see any mention of this in the documentation?

tim.plunkett’s picture

https://drupal.org/node/2012184 has that information

jhodgdon’s picture

Great. It also needs to get into the standards pages somewhere, since that is a change notice, not a docs page.

jhodgdon’s picture

Status: Active » Closed (works as designed)

This is now documented on
https://www.drupal.org/node/2156625