Yuva Testing Utilities

توضیحات

Yuva Testing Utilities is built for developers and testers who want quick, lightweight tools inside the WordPress admin — no bloat, no complicated setup.

Best used in local or staging environments where you frequently test emails, checkout flows, or need to clean up database content without touching production.

Modules:

  • Emails — Configure SMTP, log and preview outgoing emails, send test emails.
  • Auto-Fill — Fill the WooCommerce checkout with random user data on every click. Supports classic and Blocks checkout.
  • Downloader — Download any installed plugin or theme as a .zip, or export the WooCommerce sample products CSV.
  • Database — Inspect and clean up post types, database options, post meta, and user meta.
  • Test Data — Generate and delete test users, WooCommerce orders, and coupons.
  • Tools — Manage transients, view and trigger cron jobs, tail log files, inspect PHP constants, and view server info.

External services

  • RandomUser.me (https://randomuser.me/api/) — used by the Auto-Fill module to generate random placeholder user data for the checkout. The request is made only when the module is enabled and a visitor clicks the autofill button. No personal or site data is sent. Service terms and privacy policy: https://randomuser.me/

نصب

  1. Upload the plugin folder to /wp-content/plugins/yuva-testing-utilities/
  2. Activate the plugin from Plugins Installed Plugins
  3. Open Tools Testing Utilities

سوالات متداول

Is this plugin meant for production?

It can run on production but is primarily designed for development and staging environments.

Does this plugin send any data externally?

One feature does: Auto-Fill calls RandomUser.me to fetch placeholder user data, and only while that module is enabled. No personal or site data is sent, and it falls back to locally generated data when the service is unreachable. Nothing else in the plugin contacts the internet — the WooCommerce sample products CSV is read from the copy of WooCommerce already installed on your site.

Why does the plugin require WordPress 6.2?

The plugin uses the %i (identifier) placeholder in $wpdb->prepare(), introduced in WordPress 6.2, to safely parameterise table and column names.

Who can use the plugin?

Any administrator (manage_options). This is a developer toolkit, so access is intentionally not restricted beyond that. If you do want it locked down further, filter yutu_required_capability.

The Database module edited an option and something broke. Why?

Option and meta values are edited as plain text. If the stored value was a serialised array or object, saving it as text replaces the structure with a string. Only edit values you know are scalar, and always on a site you can restore.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Yuva Testing Utilities” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Yuva Testing Utilities” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.

گزارش تغییرات

1.2.7

  • Fix – Test orders set to “Completed” or “Cancelled” were created as Pending.
  • Fix – The “Random” customer country wrote RANDOM into generated order addresses.
  • Fix – Auto-Fill left the checkout State field empty for countries with a state dropdown.
  • Fix – Generated orders reused the same few products instead of picking randomly.
  • Fix – Test Data order links did not work with High Performance Order Storage.
  • Fix – Log Viewer, Constants, Server Info, and the email preview showed HTML entities instead of real characters.
  • Fix – Test Data order totals rendered raw HTML markup.
  • Fix – SMTP forced authentication with no username set, breaking local mail catchers such as Mailpit and MailHog.
  • Fix – Downloading a large plugin or theme exhausted PHP’s memory limit.
  • Update – Declared High Performance Order Storage and Cart & Checkout Blocks compatibility.
  • Update – Cron “Run Now” now passes each event’s stored arguments.
  • Update – Uninstalling now removes the plugin’s options and email log table.
  • Update – The plugin no longer activates on PHP or WordPress versions below its minimum requirements, and explains why instead of failing.
  • Update – The WooCommerce sample products CSV is now read from the installed copy of WooCommerce instead of being downloaded from GitHub.

1.2.6

  • Update – Supported coupon code prefix option.
  • Update – Generated test data IDs are now clickable through to their edit screens.
  • Fix – Compatibility with the minimum supported PHP 7.4.

1.2.4

  • Renamed Cleanup module to Database; added User Meta tab.
  • Added Test Data module with generators for users, WooCommerce orders, products, and coupons.
  • Fixed Auto-Fill not populating fields on WooCommerce Checkout Blocks.

1.2.3

  • Added Downloader module.
  • Added Developer Tools module (transients, cron viewer, log viewer, user generator).
  • Added SMTP migration for legacy flat option keys.

1.2.0

  • Added email logging.

1.1.0

  • Added cleanup tools.
  • Moved Testing Utilities menu under Tools.

1.0.0

  • Initial release.