https://github.com/jquery/jquery-simulate
jQuery Event Unit Testing Helpers
https://github.com/jquery/jquery-simulate
Last synced: 9 months ago
JSON representation
jQuery Event Unit Testing Helpers
- Host: GitHub
- URL: https://github.com/jquery/jquery-simulate
- Owner: jquery
- License: other
- Created: 2012-11-28T16:03:37.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2022-07-18T11:47:42.000Z (over 3 years ago)
- Last Synced: 2025-04-04T02:07:55.981Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 586 KB
- Stars: 173
- Watchers: 26
- Forks: 112
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# jQuery.simulate()
Simulate events to help unit test user interactions.
Project Status
--------------
jquery-simulate is in use by projects of the OpenJS 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](http://theintern.io/) on [PEP](https://github.com/jquery/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:
```sh
npm install -g grunt-cli
```
Then:
```sh
npm install
grunt
```
How to test
-----------
Open the `test/index.html` in a browser.
jQuery Core Support
-------------------
Simulate supports jQuery Core 1.7+