What if you write a plugin for WordPress and you want to be certain that your customers or users won’t have any issues with the newest development? Sure, you will test your plugin. You might also think that the Integration or Acceptance tests are enough, but you should consider Unittests without WordPress if you really want to know that your plugin still works as expected.