Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297975

Any way to reuse database tables in setUp() from test to another?

$
0
0

Hi,

I have a bunch of tests which all set up my site using Simpletest's setUp() function. The function itself takes a while to run because it installs Drupal and enables my site deployment module, which in turn enables all modules, imports the correct language files, and so on.

This is done for each of my test cases, but the system could very well store the resulting tables from one test's setUp() and reuse them in another.

Is there currently a way to do this?

Cheers,

Albert.


Viewing all articles
Browse latest Browse all 297975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>