Title: Unit testing plugins
Last modified: August 19, 2016

---

# Unit testing plugins

 *  [thoughtforge](https://wordpress.org/support/users/thoughtforge/)
 * (@thoughtforge)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/unit-testing-plugins/)
 * Hi all
 * I’ve developing plugins and I’m desperate to apply a unit testing framework but
   there appears to be very little documentation on how to accomplish this. I’ve
   taken a look a MockPress, however the documentation is a little sketchy. My plugins
   are using $wpdb and I need to be able to access this during testing.
 * Any pointers?
 * James

The topic ‘Unit testing plugins’ is closed to new replies.

## Tags

 * [testing](https://wordpress.org/support/topic-tag/testing/)
 * [unit testing](https://wordpress.org/support/topic-tag/unit-testing/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [thoughtforge](https://wordpress.org/support/users/thoughtforge/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/unit-testing-plugins/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
