Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36292, comment 14


Ignore:
Timestamp:
05/15/2016 11:36:55 PM (9 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36292, comment 14

    initial v1  
    22> You'll be surprised that my plugins are the very few open source WordPress plugins on the entire web that are tested '''without''' loading WordPress. Every WordPress class and function and hook is mocked.
    33
    4 The problem with that approach is that is makes the assumption that all of your mocks behave exactly as WordPress would behave, and given the combinatorial number of functions and hooks that is a statistical impossibility especially when you consider that behavior changes with each release of WordPress.
     4The problem with that approach is that is makes the assumption that all of your mocks behave exactly as WordPress would behave, and given the combinatorial amount of functions and hooks that is a statistical impossibility especially when you consider that behavior changes with each release of WordPress.
    55
    66Yes, what you have is better than not having any testing -- by far -- but it is still far from perfect.