Support » Plugins » Anyone unit-testing his plugins?

  • Hello folks,
    I was wondering if someone applies unit-testing technique to his plugins code. I know about testing in Ruby ON Rails, but I am a complete noob as far as PHP unit testing is concerned. Can anyone give me a hint? Where do I start from, etc?
    Davide

Viewing 4 replies - 1 through 4 (of 4 total)
  • johncoswell

    (@johncoswell)

    I’m doing unit testing on my plugins. One has a full set of tests, one I’m completely refactoring for proper unit testability, and one has no tests and really should have more than that. 🙂 I’m working on a full WordPress mock library so that one can simulate WordPress and set up test expectations in your unit testing framework. Try it out and let me know what you think: MockPress.

    johncoswell

    (@johncoswell)

    I changed my GitHub name, so new link: MockPress

    johncoswell, MockPress looks good. Kudos for creating it.

    @johncoswell: thanks a lot, much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Anyone unit-testing his plugins?’ is closed to new replies.