When writing tests for a Wordpress plugin, should i run them inside wordpress or in a normal browser?
- by Nicola Peluchetti
I have started using BDD for a wordpress plugin i'm working on and i'm rewriting the js codebase to do tests. I've encountered a few problems but i'm going steady now, i was wondering if i had the right approach, because i'm writing test that should pass in a normal browser environment and not inside wordpress.
I choose to do this because i want my…