Greasy Fork is available in English.

jquery-simulate

Simulate events to help unit test user interactions

Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://greasyfork.org/scripts/24819-jquery-simulate/code/jquery-simulate.js?version=157606

Autor
darkred
Hodnocení
0 0 0
Verze
0.0.1.20161113164818
Vytvořeno
13. 11. 2016
Aktualizováno
13. 11. 2016
Licence
neuvedeno
Spustit na
všech stránkách

GitHub repo: https://github.com/jquery/jquery-simulate

jQuery.simulate()

Simulate events to help unit test user interactions.

Project Status

jquery-simulate is in use by projects of the jQuery Foundation, but isn't under active development. Usually issues are addressed by members of the jQuery UI team when they're affected, while other pull requests linger and get stale. We hesitate to put more time into this project, since its future is unclear.

Specifically we're hoping for the WebDriver API to become a much better solution. We're currently experimenting with that, via Intern on PEP).

That said, this project is stable and should work fine. Just keep the above in mind before using it.

How to build

If you don't yet have grunt installed:

npm install -g grunt-cli

Then:

npm install
grunt

How to test

Open the test/index.html in a browser.