Skip to:
Content
Pages
Categories
Search
Top
Bottom

Testing plugins

  • Avatar of kunalb
    kunalb
    Participant

    @kunalb

    Hi! I’ve been wondering about creating unit tests etc for plugins (a bit affected by reading the pragmatic programmer): are there any existing plugins that use unit tests via wp-unit/any suggestions on how to? Because I’m really getting confused about (re-)structuring my plugin accordingly.

    PHPUnit and Selenium (+the wp-unit plugin) seem to be the way to go; but setting up the environment and working properly around global variables seems a bit hard.

    WP-Unit: http://wordpress.org/extend/plugins/wp-unit/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.