Skip to:
Content
Pages
Categories
Search
Top
Bottom

Testing plugins


  • 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)
  • The topic ‘Testing plugins’ is closed to new replies.
Skip to toolbar