Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm currently maintaining the Deeplink module, creating tests for the Rules integration.
I have noticed that the Rules module does have an extensive test set and are curious if there are recommended ways of using this in the tests for the Deeplink module too? How would I use the already written classes for the Rules tests in my own deeplink.test file?
Comments
Comment #1
TR CreditAttribution: TR commentedFor Drupal 8 this is trivial because we have real namespaces and you can just use those classes like you would any other. For Drupal 7, your best option was to copy the code you needed ...