[wp-hackers] Unit testing for WordPress

Mario Peshev mario at peshev.net
Thu Mar 22 21:27:09 UTC 2012


I've watched the video, but I was wondering if anyone uses another approach
as I got provoked by the Smashing tutorial using QUnit.

Mario Peshev
Training and Consulting Services @ DevriX
http://www.linkedin.com/in/mpeshev
http://devrix.com
http://peshev.net/blog



On Thu, Mar 22, 2012 at 11:22 PM, George Mamadashvili <
georgemamadashvili at gmail.com> wrote:

> You should check Nikolay Bachiyski's presentations from WordCamp SF -
>
> http://wordpress.tv/2011/08/20/nikolay-bachiyski-unit-testing-will-change-your-life/
>
> On Fri, Mar 23, 2012 at 1:12 AM, Mario Peshev <mario at peshev.net> wrote:
>
> > P.S. Just found out this one -
> > http://wordpress.org/extend/plugins/wp-unit/
> > - haven't tested it yet, but seems like a useful addition to my setup.
> >
> > Mario Peshev
> > Training and Consulting Services @ DevriX
> > http://www.linkedin.com/in/mpeshev
> > http://devrix.com
> > http://peshev.net/blog
> >
> >
> >
> > On Thu, Mar 22, 2012 at 11:02 PM, Mario Peshev <mario at peshev.net> wrote:
> >
> > > Hello everyone,
> > >
> > > I've been reviewing the Automated Testing page in the Codex -
> > > http://codex.wordpress.org/Automated_Testing - and downloaded the
> sample
> > > tests out there. It is using a separate testing environment - a
> separate
> > > install to run the tests on.
> > >
> > > Since I would like to write my own tests, is there a pack I could add
> to
> > > my existing install and write only read-only tests (I keep backups of
> my
> > > demo site as well)? I tried copying only wp-test.php but it has several
> > > dependencies and I was curious if there is a sample pack to be added to
> > > every install of mine in order to test my plugins and/or install.
> > >
> > > On the other hand, is there a better option other than PHPUnit such as
> > > QUnit for unit testing in WordPress?
> > >
> > > Mario Peshev
> > > Training and Consulting Services @ DevriX
> > > http://www.linkedin.com/in/mpeshev
> > > http://devrix.com
> > > http://peshev.net/blog
> > >
> > >
> > _______________________________________________
> > 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