The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
247 views

Can I get at WordPress code from inside a Selenium test?

I'm writing unit tests using PHPUnit and WP_UnitTestCase, and using Selenium for front-end testing. My Selenium test classes merrily click around my pages without trouble. What would be truly useful, ...
1
vote
1answer
83 views

Activate different theme for temporary preview

I wanted that when i access my site with specific parameter, my site used a different theme at that moment (only temporarily, to show only to me as a preview). I want it for test purposes. Is there ...
0
votes
1answer
48 views

How do you create a development site into a subdirectory of the live site?

I have a WordPress site at http://example.com and I want to create a clone development site at http://example.com/test. I want http://example.com/test to be its own root URL as well as the live one ...
0
votes
1answer
67 views

can I run the test suite without a web server?

I'm trying to set up a Test Driven Development environment and I was wondering if it's possible to run the WordPress test suite without a web server. I'm on a mac (10.7.5) and I've set up phpunit and ...
1
vote
0answers
30 views

WordPress Automatic Testing Probelm

After much trial and error. I've managed to get the automatic testing setup and running. I'm running a test on a plugin that has no code. It's just the plugin header. Just to make sure everything is ...
1
vote
0answers
63 views

How to split test a menu item

I have four links in my main navigation menu, which is displayed on every page of my site. Link 1 | Link 2 | Link 3 | Link 4 I have a form that once completed is a goal/conversion and redirects to a ...
0
votes
0answers
12 views

What is WP_MULTISITE and why it causes WP_UnitTestCase to create 404 page?

I'm using WP_UnitTestCase to create a post for unit test. I'm using WP_MULTISITE=1 on my CI and it causes create_post to create post type 404. $post_id = ...
0
votes
0answers
21 views

Unit Test ignores stubbed method second time around in a dataProvider

I am writing a sample unit test that checks a title of a post for a token and if it exists add the post to a category. https://gist.github.com/matstars/bebedbacedd7a85d8dc7 In my test for this I am ...
0
votes
0answers
17 views

What is a good way to test that plugin upgrades have completed properly?

I'm working to automate plugin upgrades across all my WordPress installs. Part of that process is making sure the plugins upgraded correctly, didn't introduce errors and don't cause new conflicts with ...
0
votes
0answers
30 views

Migrating a Test site to Main site on a multisite

I have cloned my main site using the plugin WP-Clone to a folder and installed wordpress on it (Mysite.com/test) and have spent about a month adding features and installing plugins and adding pages ...
0
votes
0answers
22 views

Folder installation to be in ROOT

What I want to achieve is just a simple removal of the /folder name after my website.com URL and have all my links and WordPress login just under website.com/wp-login.php. 1.) I did a restore ...