Should I use PHPUnit or Behat for testing my WordPress plugin?

Bill from Georgetown writes: Just curious, what made you choose Behat for [WP-CLI] testing rather than PHPUnit like WordPress core, EDD and a lot of other big WordPress plugins? Is it just for easier readability of tests, or is there more to it? I have a few projects that need unit testing and am trying […]

Hard lessons learned from setting up React + Webpack + Mocha + Chai + Enzyme

I had a really difficult time this morning setting up React + Webpack + Mocha + Chai + Enzyme. All roads with Mocha seem to lead to Karma, which I don’t want to use because I don’t want the complexity of a headless browser. And, all past roads with Mocha but without Karma seem to be […]