Backing up wp tables in test environment
I am writing a plugin and am working with the wp_posts and wp_meta table. As I am working my way through the testing, I have realized, that I would like to restore the above 2 tables before each test run programatically as part of my plugin, so I may better guage the results. What is the best approach to doing this?
Thanks in advance,
- The topic ‘Backing up wp tables in test environment’ is closed to new replies.