WordPress Development

Getting started with WordPress πŸ“£
7 Topics
What is WordPress?
Using WordPress ✍️
Installing WordPress
WordPress Terminology πŸ“ƒ
How WordPress works
WordPress Database Schema
Using themes and plugins
Setting up Development Environment πŸ‘¨β€πŸ’»
4 Topics
Introduction to Git and SVN πŸ”„
Setting up an Integrated Development Environment (IDE)
Pushing changes to site via Git commits/branches
Setting up Z shell and Oh My Zsh for fast command line work
Coding Standards and Best Practices πŸ’―
5 Topics
WordPress Coding Standards (WPCS)
PHP_CodeSniffer (PHPCS)
Peer Code Review
Security πŸ›‘οΈ
WordPress Documentation Schema
Plugin Development πŸ› οΈ
8 Topics
Introduction to plugin development
Hooks: Actions and Filters
Custom Post Types and Taxonomies
WordPress Core APIs
WP_Query (Custom Query)
WordPress AJAX
Interacting with remote data and APIs
Plugin development assignment
Theme Development πŸ‘€
8 Topics
Anatomy and architecture of a theme
Theme Stylesheet and Functions file
Template files and hierarchy
Customizer
Asset Building using Webpack & Babel
Child Themes
Handling Media in WordPress
Theme development assignment
Advanced Concepts πŸ“œ
12 Topics
WP-CLI
REST API
Roles and Capabilities
Caching
Custom Database Table Creation
Optimization ⚑
Users and User metadata
Cron β³βš™οΈ
Background Processing
Internationalization and Localization 🌐
Multisite
Email with WordPress πŸ“§
Block Editor (Gutenberg) πŸ—οΈ
2 Topics
Default Blocks
Creating a block
Debugging 🐞
3 Topics
Introduction to Xdebug
EasyEngine site debugging with docker commands
How to check Nginx, PHP, and WP Debug logs
Testing πŸ€“
4 Topics
PHPUnit Test
JavaScript: QUnit, Jest
ESLint, JSLint, JSHint, JSCS
CSS: Stylelint
Extras πŸ˜ƒ
5 Topics
Decoupled
GraphQL
React and Next.js
WooCommerce πŸ›’
Accessibility (WCAG 2.0) πŸ”
Server Side πŸ–₯️
4 Topics
How to check CPU/Memory/Disk Space on a server
Rsync and SSH basics
How to sync one site with other using WP-CLI and rsync
Tmux basics
Contributing to WordPress ❀️
8 Topics
Getting involved with the WordPress community πŸ‘₯
Core
Signup / Login to WordPress
Setting up WordPress develop on local
Creating Core ticket
Searching for a ticket for your first contribution
Creating and testing SVN patches using GitHub
Polyglots
Apply for WordPress Jobs
rtlearn logo
Previous Lesson
Next Topic

PHPUnit Test

WordPress Development Testing πŸ€“ PHPUnit Test

PHPUnit is the official testing framework chosen by the WordPress Core team to perform automated unit testing for PHP code. You can learn how to get started and run tests with it from the below resources –

  • Getting Started with PHPUnit
  • Setup and Run PHPUnit
  • Writing PHP Tests
  • Unit Tests for WordPress Plugins
  • Unit Tests for WordPress Plugins – Tests vs. Assertions

Using WP-CLI

  • Generates files needed for running PHPUnit tests in a plugin
  • Generates files needed for running PHPUnit tests in a theme.
Previous Lesson
Back to Lesson
Next Topic