[wp-hackers] How to test a plugin before release?

Jaime Martínez info at jaimemartinez.nl
Tue Sep 10 06:08:53 UTC 2013


Hola,

If you want to setup unit tests then you could checkout WP-CLI to ease the initial setup. Here's a tutorial: http://wp-cli.org/blog/plugin-unit-tests.html

If you want to test fresh installs then checkout how WP-CLI runs it's Behat tests. With Behat you can do these "What happends when I have a fresh install".

Ciao,

Jaime Martinez



On 10 sep. 2013, at 06:01, "Guus \(IFS\)" <guus at inspiration-for-success.com> wrote:

> Hi Michael,
> 
> Good suggestion!
> 
> I have the same problem and the main issue is that I have no one to 'counter test', like download the new version and install it 'fresh' or as an upgrade 'somewhere'.
> 
> So yeah, something like 'beta test' or 'counter test' would be very useful for everybody. Let's think on how to organize,
> 
> Guus
> 
> 
> ----- Original Message ----- From: "Michael Clark" <dc153464a11bcf5aeb18180db28017fb.wp-hackers at planetmike.com>
> To: <wp-hackers at lists.automattic.com>
> Sent: Tuesday, September 10, 2013 5:08 AM
> Subject: [wp-hackers] How to test a plugin before release?
> 
> 
>> Last week I released an upgrade to a plugin. And started getting bug
>> reports that same day. Finally late last night I figured out what the
>> problem was. I and a few people test the new version, and was mostly
>> good. So this morning I released a new version, and am now getting
>> different bug reports. Argh! Of course, it's all working just fine on
>> my own sites.
>> 
>> So, how should I be testing my plugin? Searching for answers to this
>> question, I found this quote: "Free or not, any type of update
>> shouldn't be released until fully tested." There are a zillion
>> different themes and plugins out there, and there's no way to test for
>> every combination. Should I be building out a "beta test club" to help
>> me test new versions? I'm quite frustrated at the moment. And don't get
>> me started on the ever so helpful bug reports of "hey, it doesn't work
>> - fix it!" and "lame"
>> 
>> If you're curious, my plugin is at
>> http://wordpress.org/plugins/ultimate-category-excluder/ Mike
>> 
>> 
>> -- 
>> 
>> Michael Clark
>> http://www.PlanetMike.com
>> 
>> Christmas Music 24 Hours a Day, 7 Days a week
>> http://www.ChristmasMusic247.com
>> 
>> "Injustice anywhere is a threat to justice everywhere."
>> - Martin Luther King Jr.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers 
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list