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

TR’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

For 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 ...