Tests (tag)

Unit tests for WordPress with unitest-wp-copy

To check a small plugin class, you don’t always need to install WordPress and set up a test database. If the code sanitizes strings, formats HTML, parses blocks, or...

How to create your own demo/test content (dummy data) for WP?

The article explains how to create demo/test content for WordPress themes and provides step-by-step instructions for importing test data.

Fill a WordPress Site with Data (a Large Number of Posts) and Comments (for Testing)

Code for quickly filling a WordPress site with a large number of demo posts and comments for testing purposes.