qunit
qunit copied to clipboard
🔮 An easy-to-use JavaScript unit testing framework.
I currently use one of two approaches. 1. Existing demo with console hackery: * https://qunitjs.com/ * Open "Browser Result" frame as its own tab (e.g. right-click view iframe, or cmd-click...
Possible reuse GitHub releases for now or build on https://github.com/qunitjs/qunit/issues/1744.
[![Tested with QUnit](https://img.shields.io/badge/tested_with-qunit-9c3493.svg)](https://qunitjs.com/) ``` [![Tested with QUnit](https://img.shields.io/badge/tested_with-qunit-9c3493.svg)](https://qunitjs.com/) ```
Another one for the "Integrations" section (ref https://github.com/qunitjs/qunitjs.com/issues/42), we can promote use of [SinonJS](https://sinonjs.org/). Perhaps a very plain and simple way, could be like so: ```js const { test }...
https://github.com/jquery/jquery-simulate Example usage in jQuery UI: - focus: https://github.com/jquery/jquery-ui/blob/390e440fcdb16304c4e78448c9cd2bb6c1e43f1e/tests/unit/accordion/accordion_core.js#L82 - keydown: https://github.com/jquery/jquery-ui/blob/390e440fcdb16304c4e78448c9cd2bb6c1e43f1e/tests/unit/accordion/accordion_core.js#L85 - drag: https://github.com/jquery/jquery-ui/blob/390e440fcdb16304c4e78448c9cd2bb6c1e43f1e/tests/unit/draggable/draggable_test_helpers.js#L88
currently, the changelog is a link to https://github.com/jquery/qunit/blob/v1.12.0/History.md