quailjs/quail — pull request #253 by theodoreb (2014-07-02 12:01:18+00:00)
Title: Add a preEvaluator callback to SuccessCriteria object

The preCondition callback will be executed during the call to
SuccessCriteria.registerTests() and replace the testCollection sent with an
empty testCollection.

I'm still not sure it's a the right level though. Not sure how to pass the html of the page/test scope to the preEvaluator callback…