In Drupal 7, tests module can be added with
hidden = TRUE property in
.info file to not to display on modules list page, but tests can find and enable them using
protected $modules property.
But Drupal 8 doesn't have this property and the test modules don't appear in modules list page. How does it work?