Diff defines a DiffEngine.php class, but this won't get picked up by Drupal 8 because it's not in a directory. Need to move the file and fix its namespace.

Comments

phenaproxima’s picture

Status: Active » Needs review

This pretty squarely works for me. It's baked into ModuleContext so it may not need a plugin (not 100% sure about that yet, though).

webchick’s picture

Status: Needs review » Closed (fixed)

Confirmed! It successfully splits apart the Pants test cases in a mega-class in D7 into 3 separate class files in the /src directory.

There's still more to do to get the tests to show up (#2327335: [meta] Port automated tests to D8) but PSR-4-wise, this is good to go.