jquery/qunit — pull request #189 by nathanmacinnes (2012-01-05 16:55:29+00:00)
Title: Added a warning feature

This allows a warning to be thrown by a test at any point using the `warn` function, but the test still counts as a pass. I've found this quite useful to notify myself/others that something needs attention, but hasn't yet had a test implemented for it. For example:

```javascript
test("that the function will return the element passed by a selector", function () {
var linkElement = document.getElementById('external-link');
if (document.querySelectorAll) {
var result = myHelper('#container a');
} else {
warn("Browser doesn't support querySelectorAll, so script won't run in this browser. Implement test for alternative interface.");
}
});
```