I have a Yii project that relies more on javascript for most of its work.
To achieve a decent level of test coverage, I would like to use QUnit to test javascript. Most javascript relies on ajax calls to collect data from models (for example, lists of items in drop-down lists).
I would like to use my Yii tools to set the database to a known state before running QUnit tests. Does anyone know how to do this? Or can anyone suggest another javascript module testing framework that works well with Yii?
source
share